Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
Bat. get input file folder?
Name: Hans Henrik Date: August 6, 2008 at 06:05:06 Pacific OS: XP CPU/Ram: fast enought. 2 GB Product: Dell~
Comment:
i have made a bat that moves files in a specified folder, and added some registry keys so i can right-click any file and run the bat on it.. but now i need to make the bat search the entire directory to...
this is the bat so far: [CODE]@echo off :sets set /A FailSafe=0 set MoveFolder=C:\Documents and settings\all users\desktop\files\ :begin move %1 "%MoveFolder%" if not errorlevel=0 goto FailSafe exit :FailSafe set /A FailSafe=%FailSafe%+1 if %FailSafe% == 5 echo an error, Errorlevel=%errorlevel% & pause & exit goto begin[/CODE]
but now i need it to get the directory of the file, and go there, so i can move all files with specific names to (for example *test*) like [CODE] move %1 "%MoveFolder%" cd %InputFileFolder% move *Test* "%MoveFolder%"[/CODE]
Summary: "To This For Each oFolderDestination in FolderListDestination.files bSourceExists = 0" No, that wouldn't make sense. "FolderListDestination" is an array of folders. The individual folders have files, ...
Summary: Hi people. how can i read a file(any) and get its size in Assembly? suppose we dont know what type the content of the file is and we want to get its size!? like we used ftell and fseek in C++ to get t...
Summary: I found this on batfiles but am clueless of how it is supposed to work. It had no explanation with it. Get up to nine words of first line of input file into variables. Ansi.sys optional; Esc represent...