cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Windows Programming
question about the DOS shell
question about the DOS shell
Apr 11, 2012 at 4:12pm UTC
mzimmers
(578)
Hi -
I need to write a couple small scripts, but I'm pretty new to Windows/DOS. What are the DOS equivalents to the UNIX "./" and "../" constructs? In other words, how do you specify your current directory, and the parent directory in a pathname?
Thanks.
Apr 11, 2012 at 6:07pm UTC
Texan40
(645)
Windows uses backslash instead of forward slash:
".\blah.foo" and "..\foosub\blah.foo"
Apr 11, 2012 at 7:35pm UTC
mzimmers
(578)
Oh, right...thanks for the reminder. I always forget about those damn backslashes...
Topic archived. No new replies allowed.