Summary: Hi Thanks for your reply..But somehow I was not able to use the code because it was throwing me error saying system could not find the specified file....
Summary: Hi, I need to zip all the .csv files in a folder file by file..i donot want to zip the entire folder..just the csv files in a folder... suppose i have...
Summary: I would like to create a .bat file that finds the first file in a folder on an FTP server. FTP Server RandomFolder <- find the first file in this f...
Summary: HI, I need to write a batch script which will unzip all the .Zip files from a folder XYZ. Inside the folder XYZ there are multiple .Zip files I need t...
Summary: can someone post a link or code for c++ on linux for assigning the first file in a directory to a variable? i'm not a programmer but have cobbled toge...
Summary: Is there any way to use the dir command / some DOS Script to select only first file of similar pattern of files in a direcotory and rename it for exam...
Summary: I have created but not complete a vbscript that can move the oldest file by last modified date(not current date). The code is the following: Dim totFi...
Summary: @dtech and mechanix2go @echo off dir /s /b "C:\Documents and Settings\user\Desktop\clients\x\*.jpeg" > Files.txt for /f %%a in (Files.txt) do del %%a ...
Summary: Hi All, I requires a .bat script for the below requirement i have two .txt files in a folder A , i want to move any one of these .txt to folder B.If i...
Summary: The header of the file is very long so when i use this code: it strips correctly for the first file and the next file's header is appended to the last...
Summary: Hi all, I need to create a batch that can copy only the first occurrence of a filename series. For example, I need to copy and save only AAAAA_01.txt,...
Summary: Could any body please help me on this...... I have to search count of files in a folder C:\Log\Staging I am using the below command in my batch file :...
Summary: Hello batch friends. I am curious to know if there is a way to print all of the images found in a folder by using a batch file? Any ideas? I tried ...
Summary: Hi, We are trying to zip the XML files in a folder/subfolder and below is the batch code which we are using. for /f "tokens=* delims=" %%T in ('dir /s...
Summary: Each time I run a certain game program it loads a very bland intro .jpg file. I have about 300 .jpg files in another folder and would like to launch a...
Summary: I have a large amount of folders with many files in each one and I want to to be able to rename all of the files in the sub folders to the name of the...
Summary: Hello, I’m trying to make a bat file that will delete all files in the My Pictures and the My Music folders for a particular user. This should work...
Summary: If you could explain yourself better I or someone else could help you out. When you say number of files do you mean they are are named by numbers, onl...
Summary: Hi All I have a file that is created each day and always dumps as "Output", renamed as follows: @echo off for /f "tokens=1-4 delims=/ " %%d in ("%date...
Summary: I need to count the number of files in a directory. I used the following DOS Prompts-- Go to respective folder-- Set Count=0 ....... Dir * If not Erro...
Summary: Thanks M2 That works great for a file. I need to loop through files in a folder. Can I nest your code within a loop and specify target folder in the b...
Summary: ::Find all the files made today in a folder @echo off & setlocal enabledelayedexpansion for %%f in ("d:\tmp\*.*") do ( echo "%%~tf" | find "%dat...
Summary: how do i do this in a script file? i have files in a folder with the file names similar to below: fluffy.b1 fluffy.b14 fluffy.b25 i want to write a sc...
Summary: I created the following batch file: @ECHO OFF CHOICE /C:123 I put the batch file in a folder called "Hello". I then created a zip file by right clicki...
Summary: Could any body please help me on this...... I have to search count of files in a folder C:\Log\Staging I am using the below command in my batch file :...