Search found 5 matches
- 15 Feb 2009 22:15
- Forum: DOS Batch Forum
- Topic: Replacing backslash with slash
- Replies: 3
- Views: 11258
- 15 Feb 2009 21:13
- Forum: DOS Batch Forum
- Topic: Replacing backslash with slash
- Replies: 3
- Views: 11258
Replacing backslash with slash
awhile back I received some help here with a script the wrote the contents of a directory/subdirectories in their relative path. Here's the code for that; @ECHO off del data.xml SETLOCAL ENABLEDELAYEDEXPANSION for /F "tokens=*" %%c in ('dir *.jpg /a-d /ogn /b /s') do ( set absp...
- 05 Jan 2009 19:34
- Forum: DOS Batch Forum
- Topic: Relative path for subdirectories from dir command?
- Replies: 4
- Views: 14156
- 04 Jan 2009 23:59
- Forum: DOS Batch Forum
- Topic: Relative path for subdirectories from dir command?
- Replies: 4
- Views: 14156
- 04 Jan 2009 14:50
- Forum: DOS Batch Forum
- Topic: Relative path for subdirectories from dir command?
- Replies: 4
- Views: 14156
Relative path for subdirectories from dir command?
I'm trying to make a batch that will make a list of all the images in a folder, and all its subdirectories. However, as this requires /s with the dir command the entire path is listed. I would like just the relative path listed. Here is the current script; setlocal enabledelayedexpansion del files.t...