chenloong Posted June 7, 2007 Share Posted June 7, 2007 hi,,,,, Do anyone has experience in writing a command to change the directory using exec() function provided in php?? I need to change the directory to certain path, in DOS, we do it like this : cd C:\Program Files\abc ,,,,, this will change the path to abc's folder.... can i do the same thing using exec(), or any other function to do this?? FYI, i do this on Windows Environment, so, no need to consider linux environment. Thanks in advance. regards, chenloong Quote Link to comment https://forums.phpfreaks.com/topic/54556-how-to-change-directory-using-exec-or-etc/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.