Skip to main content
GameDev.net gamedev.net
🔒 Locked

cmdLine parameters in Visual Basic !?

Started by Uros Jul 13, 2003 at 5:00 PM 2 replies 250+ views
Original Post
Uros
Uros
Hello !! I need to read the command line parameters ( parameters that you run with the .exe file - for example "program.exe -d -e" ) in Visual Basic. How do I do that ?? Which function to use to retrieve path and filename of the exe file and its parameters ? Thanx in advance ! Uros
falkone
falkone
It''s been ages.. but i believe the function command returns the command line parameters (but not the executable name or path).. lmao, didn''t think it''d be that simple, did you?
Disclaimer: "I am in no way qualified to present advice n any topic concerning anything and can not be held responsible for any damages that my advice may incurr (due to neither my negligence nor yours)" o
TSwitch
TSwitch
Commandline parameters: COMMAND$
Exe path: App.Path
Exe name: App.EXEName (no extension is returned)
Member of the Unban nes8bit or the White Rhino in my Basement Gets Sold to the Highest Bidder Association (UNWRBGSHBA - Not accepting new members.)Member of the I'm Glad Mithrandir Finally Found an Association that Accepts People with his Past History Association (IGMFFAAPPHA)

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.