Command line and keyboard apologist corner

2007-08-09

Getting the current folder name in the Windows XP/W2K batch-file

for %%I in (.) do set CWD=%%~fI

echo %CWD

at 14:54

Labels: command-line, computers, windows

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

Blog Archive

  • ►  2008 (1)
    • ►  September (1)
  • ▼  2007 (12)
    • ►  October (2)
    • ►  September (3)
    • ▼  August (2)
      • Getting the file length in the Windows XP/W2K batc...
      • Getting the current folder name in the Windows XP/...
    • ►  June (5)

About Me

Александр
View my complete profile