Re: How do i pass variables on the command line?

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



I want to open say test.exe and pass this:
var1, var2, var3

One easy way to do this is to create a shortcut to the exe in windows,
right click the shortcut to get to the properties, go to where it says
target, and after test.exe type var1 var2 var3, seperated by a single
space.

Or you can go to start menu-->run, and type:
C:\<whatever the path is>\test.exe var1 var2 var3

.



Relevant Pages

  • Re: application error in wince5.0
    ... Windows CE has no EXE called regedit.exe, so I'm not sure what you're ... application file, not shortcut. ... real EXE is not present in the folder that the shortcut points to, ...
    (microsoft.public.windowsce.app.development)
  • Re: How do I make my program start fullscreen ?
    ... > os = windows xp ... For an EXE, one approach is to create a shortcut (I believe making a ... PIF file will also work, but haven't tried that) and modify the ...
    (comp.lang.python)
  • How can I make Windows stop looking for my program?
    ... Windows has a cool feature where if it doesn't find the exe in the shortcut, ... located on a network server. ...
    (microsoft.public.windowsxp.general)
  • Re: windows doesnt know what an exe is?!?!
    ... have installed, windows asks me to choose which program opens *.exe, and i ... the shortcut points to, it works, for most things. ...
    (microsoft.public.windowsxp.general)
  • Re: Start Menu dispays a black screen
    ... The pinned shortcut to my Downloads folder -- works when clicked. ... Windows asks if I want to create a shortcut on desktop. ... If you have the very latest video drivers - downloaded from the video ... card mftr.'s site (unlikely to be the ones on the CD included with the ...
    (microsoft.public.windowsxp.general)