View Single Post
10-03-2005, 10:51 AM
#2
UrlTrends is offline UrlTrends
UrlTrends's Avatar
Status: Junior Member
Join date: Jan 2005
Location: Sacramento, CA
Expertise:
Software:
 
Posts: 68
iTrader: 0 / 0%
 

UrlTrends is on a distinguished road

  Old

Commands like 'ls', 'cd', etc. are Unix specific (Linux, FreeBSD, SuSe, etc.). You can use the exec and system commands, but you need to "windowize" the command that you are running. For example the 'ls' command is the same as the 'dir' command in windows.

For example:

Code:
ls /
is equivilant to:

Code:
dir c:
In regards to being able to use these commands, make sure that safe mode isn't enabled and that you have permission to perform the commands.

It will be easier to go to "Start => Run => Type 'cmd[enter]'" For the command prompt you will be able to test out commands, then just type those into the exec command.