how can i execute a shell command from a string
what im trying todo is this
shell("cd", StringName)
the string comes from a user entered textbox
StringName = Textbox.text
how can i get this to work?
Printable View
how can i execute a shell command from a string
what im trying todo is this
shell("cd", StringName)
the string comes from a user entered textbox
StringName = Textbox.text
how can i get this to work?
You write the complete command to a .bat file, and use shell("batfile.bat")
Doesn't make any sense. You want a shell to CD?Quote:
what im trying todo is this
Of course there is no point using shell at all if the goal is to change the directory as this can easily be done within the program.