I am working on a backup script to delete old folders from a folder.My backup folder looks like this (backup_mm_dd_year is a folder) C:\backups\backup_5_1_2014 C:\backups\backup_5_2_2014 C:\backups\backup_5_3_2014 C:\backups\backup_5_4_2014 C:\backups\backup_5_6_2014 C:\backups\backup_5_7_2014 C:\backups\backup_5_8_2014 C:\backups\backup_5_9_2014 C:\backups\backup_5_10_2014 C:\backups\backup_5_12_2014 I was looking at using robocopy to delete folders ...
Computing.net: Question & Answers Forum Latest Questions
I’m try to make batch file that looks in the dir that it is running in looking for .xml. then take the file name of the XML and sets it as a variable for use finding the file that changes ...
Hi! All How to create a folder at the start of every month with month and year(like May 2010) as folder name then add export files everyday with datestamp and at the end of the month zip the folder? Thnx ...
Do you know a way to save the contents of a file into multiple variables in a Batch file? I have a file called userlist.txt containing information like: user1:password1 user2:password2 etc. and i want to save the content of that file in two ...
Hi, I am trying to create a batch file which will read a text file, and delete last four characters from the text in it…ie file will read test.txt for mynameis.txt batch file will change it to mynameis and store it ...
im not a familiar with programming basics. im getting ‘Run time error 424 ‘ object required, when executing the script provided in #5 im using the script as macro in Excel, any idea what im doing wrong? Sub XMLFind() ‘==== begin vbscript “xmlfind”
i’m trying to write a batch file that sets a variable to the first word in a text file. i can get it to find the first word in the text file using the findstr command, but it outputs the ...
Hi guys, i’m learning c++ and my compiler is turbo c++. I compiled a simple addition program in c++ but i am not able to convert it into an exe that can run independently. when i select the build option ...
I made a program. When I ran it, at the end it said, ‘ECHO is off.’ This is my code, @ECHO off :start echo The Adventure of You :tree echo The High Tree echo You wake up at the ...
On a PC with Windows 7, I’m using a simple DOS script to rename some Excel files, pre-pending their parent folder name: for /f “delims=” %%i in (‘dir /b /AD’) do ( cd “%%i” for /f “delims=” %%j in (‘dir /b ...