> > I did have to edit the batch file paths from f:\ to e:\ because the mount > name of the drive was different on the two computers. I haven't come up > with a way to adapt to the change in drive letter except by editing the > batch file, sorry to say.
If using CMD (as opposed to Powershell) use %~dp0 %0 - name of bat file (or call :label) %~ - trigger expansion features %~d - drive letter %~p - path %~n - filename %~x - file extension %~dpnx0 - fully qualified path and file name of currently executing batch file. See https://ss64.com/nt/syntax-args.html for more -matt -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/leo-editor/3010b1d7-a416-4eac-a7ac-661586e54676%40googlegroups.com.
