We are running ACCPAC on Windows workstations on a network. Multiple users, needing to work from any workstation. The program settings are in a directory. The command line that starts the program is something like:
m:\PLUS.EXE /v3 /db /SF:\users\mary\EZS /CF:\users\mary\mcc
We would like to replace the "mary" with a variable. We can do that with %1, however:
The command or a batch file is attached to an icon on the user's desktop. We would like to have a single icon that runs an identical command line, that asks the user to input their user name, the equivalent of the %1 or "mary".
Can one of you help write a batch that would pop a prompt on the screen "User name, please:" and once the user typed in "mary" it would run the next batch file with "mary" substituting the "%1" from the above example?
Thanks. Martin
Start Free Trial