Also, when I have my program run "ls" It doesn't show the filesIi have on the system, so am I being stupid, or have I typed something wrong.
Thanks!
0
What command do I use to access the command prompt?
Started by MechanicalMorgan, Jun 23 2017 04:18 PM
1 reply to this topic
#1
Posted 23 June 2017 - 04:18 PM
#2
Posted 24 June 2017 - 06:45 AM
Assuming you want a script to suddenly jump to the prompt without exiting (so it can carry on when that shell session ends):
If you want a script to get a directory listing, best to use fs.list() rather than shell.run("ls").
shell.run("shell")
If you want a script to get a directory listing, best to use fs.list() rather than shell.run("ls").
Edited by Bomb Bloke, 24 June 2017 - 06:45 AM.
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users