0
votes
1answer
381 views

How can I start multiple applications and instances using a Windows Scheduled Task?

I have three main applications. I am trying to start them automatically at log on in a specific order with a given delay. Here is an example of how I'd like everything to be: User logs in. Wait ...
0
votes
2answers
1k views

cmd: include date and time to filename

How can I get a filename YYYY.MM.DD_HH.MM.SS.7z? It should work with any regional settings! The question is not duplicating 7zip CMD: Add current date to archive & include only last modified ...
2
votes
1answer
12k views

Batch File - Delete Shortcut From ALLUSERS Desktop

In Vista/7, if I try to delete a shortcut using the following command -: del "%allusersprofile%\Desktop\MyShortcut.lnk" ...Windows sees this folder as empty and doesn't delete the file. The ...
2
votes
2answers
820 views

'windiff' is not recognized as an internal or external command, operable program or batch file

I've heard of the windiff command, which basically helps us compare 2 files and show the differences. However, when trying to run it, I get the error 'windiff' is not recognized as an intenral or ...
0
votes
2answers
1k views

creating a batch file for ping a website

I am trying to create a .bat file in order to ping a website and output the result to a .txt file named result.txt on the desktop of the machine. I am doing something like this but it is not the ...
1
vote
3answers
371 views

bat file for backup system

I created a sample bat file in order to have a back-up system. this does not show what my intention is but it demonstrates it. here is my bat file content; xcopy C:\apps\source c:\apps\dest /D /E /C ...
1
vote
2answers
4k views

Delete all files and folders EXCEPT those with extension .svn and .svn-base

I need to remove all files and folders from a particular parent folder except those which have .svn as the foldername and those which have *.svn-base as their filename. Is there a Windows script that ...
2
votes
3answers
2k views

How to get date value in commandline

I need to do a command that takes yesterday date and builds it into a file path like this: copy "Something 2010-12-06\*.zip" "d:\Copy\" where 2010-12-6 is yesterday's date in format yyyy-mm-dd. ...
1
vote
2answers
1k views

How to write a script to move files from one FTP server to another?

What are some good ways to move file from a development site on a linux server to another linux server (which would be production). I will be working from a Vista system. Basically, I'd like to just ...
3
votes
2answers
2k views

Windows Batch Scripting: Newest File Matching a Pattern

This would be lightning quick in linux, but I'm not familiar enough with windows flavour of batch scripting. Basically I want to look for a series of files matching a certain wildcard, and get the ...
0
votes
1answer
783 views

Batch script: grant folder full control to users group

It should be done from command line (batch/cmd script, not PowerShell) as part of post-install like event I tried cd C:\ProgramFiles\AppDir\Settings CACLS /T /G BUILTIN\Users:F But it didn't ...
3
votes
3answers
1k views

Task scheduling Batch Files in Vista

Wondering if there is some trick to scheduling a batch file to run in Vista. I have tried almost every setting/arg I can think of with no result other than an error, or the command window opening ...