Tagged Questions
0
votes
1answer
80 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
788 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 ...
1
vote
1answer
6k 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 ...
1
vote
2answers
306 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 ...
1
vote
2answers
669 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
290 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
3k 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 ...
1
vote
3answers
4k views
Is it possible to copy a set of files, but automatically skip if file already exists?
I know that the copy command has an option to automatically replace a file if it already exists, but I want to know if it is a way to copy the files only if they not already exist (/Y). I do not know ...
2
votes
3answers
1k 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.
...
0
votes
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
841 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
575 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
892 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 ...