Search found 2 matches

by Viper9000
03 May 2010 01:51
Forum: DOS Batch Forum
Topic: string substituation within for loop
Replies: 2
Views: 4143

Re: string substituation within for loop

Hello,

@!K: Thank you, it works.

Viper
by Viper9000
03 May 2010 00:15
Forum: DOS Batch Forum
Topic: string substituation within for loop
Replies: 2
Views: 4143

string substituation within for loop

Hello, i want to decrypt every file within a folder. For this task i need the filename without the directory part. So i tried the following: @echo off SET SrcDir=C:\scripts\SrcDir SET DestDir=C:\scripts\DestDir for %%D in ("%SrcDir%"\*.*) do ( SET FILE=%%D SET FILE=%file:C:\Scripts\SrcDir\...