Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Batch File - Pause Execution and View Variable Values?
Message
From
10/10/2007 20:37:44
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
 
 
To
10/10/2007 16:49:11
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Windows
Category:
Computing in general
Miscellaneous
Thread ID:
01260069
Message ID:
01260185
Views:
22
>Why do you need to send parameters to a batch file you just created? Can't you just insert the values as such?
>
>
text to InstallBatchCommands textmerge noshow
>"<<m.scFilename>>" EMPS "<<m.srvAnyFileName>>"
>endtext
>
>
>And that's your batch file. You may want to put fullpaths into your variables, because sys(2023) may return a 8.3 shorthand path - which may still work fine in a .bat file, but may be a bit unclear when read by a human.

Great idea! Much cleaner.

Ok, now I've got this problem. In the code below, the RUN causes a DOS error that the file cannot be found:
m.InstallBatchFilename = "C:\DOCUME~1\JAY\LOCALS~1\TEMP\EMPS_Install.bat"
RUN <<m.InstallBatchFilename>>
But, if I type the line below in the RUN dialog box under the Start menu, then it works.
C:\DOCUME~1\JAY\LOCALS~1\TEMP\EMPS_Install.bat
I've tried different variations for the RUN command in the first code block, but nothing seems to work. Any ideas?

Nevermind. I tried this:
RUN /N &InstallBatchFilename
And it worked, but why did I need the /N switch?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform