Search found 5 matches

by JubaJuba
15 Feb 2009 22:15
Forum: DOS Batch Forum
Topic: Replacing backslash with slash
Replies: 3
Views: 11258

Thank you so much! That's exactly what I needed.
by JubaJuba
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...
by JubaJuba
05 Jan 2009 19:34
Forum: DOS Batch Forum
Topic: Relative path for subdirectories from dir command?
Replies: 4
Views: 14156

Thank you so much! I really appreciate it, I was getting so frustrated!
by JubaJuba
04 Jan 2009 23:59
Forum: DOS Batch Forum
Topic: Relative path for subdirectories from dir command?
Replies: 4
Views: 14156

After reading your reply I've tried to use the :MakeRelative function, but what is actually written to the file is the same as before, and now the batch just gets hung up in a loop =/ I was wondering why something like wouldn't work; for /F "tokens=*" %%c in ('dir *.jpg;*.bmp /a-d /ogn...
by JubaJuba
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...