I'm thinking I need a browser plugin that does the following, and if it doesn't exist, it should. I may as well say FF for now, but it could be any browser.
The problem: when moving a website from one server to another, you need migration testing. It is a pain to click on every link by hand and compare it to the old host. You really ...
I have several batch files that I call from a parent batch file. I need to trap if there are any errors that occur in the child batch files. When a child batch file makes a call to an exe file, I am able to trap the error in the child batch file just fine. How do I surface it up to the parent batch file?
...
I have the following For loop in a batch file:
for /R c:\test\src %%i IN (*.*) DO (
MOVE %%i C:\test\destination
ECHO %%i
exit
)
The result of the ECHO outputs the entire file path Ex: C:\Foldername\Filename
I need to ECHO out only the Filename.Is there a specific command which would give me the filename ?
Thanks !
...
i am trying to delete some files using a batch file.. (winxp)
my problem is when i delete using a wildcard.. it is matching the 8.3 name aswell as the long name.
eg:
file list
file1.py
file1.pyc
file2.pycstlongname
file2.pycstlongnamec
if i do a
Del *.pyc
it deletes everything but file1.py
becuase if i do a dir /X all of teh 8...
I am using the deltree command which expects the user to confirm with a Y or N.
I tried 'echo Y | deltree ....' but got a "The process tried to write to a nonexistent pipe" error.
Is there another way?
...
I would like to write a windows batch file for the purpose of renaming a file every 25 seconds. I would also like the batch file to terminate after 300 seconds have passed. How would I go about doing this? Here is what I have thusfar.
START
RENAME test.g test.go
SLEEP 25
RENAME test.go test.g
GOTO START
...
I have a post-build event that runs some commands for a c# project. The last command would sometimes cause the ERRORLEVEL value not equils to zero and then the build fails.
I want to append an extra line of command to always set the ERRORLEVEL value to zero. What is the most convenient way to do that?
...
I want to create a batch while which finds specific lines in a batch file and are able to edit these lines.
Example:
//TXT FILE//
ex1
ex2
ex3
ex4
i want to let the batch file find 'ex3' and edit this to 'ex5' to let it look like this:
ex1
ex2
ex5
ex4
...
I posted another one on this,, but i had to edit it really much...
What the thing bassicly is that a Batch (Maybe including VBScript) can find line 29 in a txtfile... it should edit this line.
If line 29 is like this: 'option=21' it should change it to 'option=22'
the problem is that this line is located more in the file. so it shou...
On whatever reason this is not working [gives 'file not found']
set in=c:\myprogram\_save
cd %temp%
ren 1RO.dat "Titanic Moves 1 of 3 Rotterdam.dat"
ren 12RO.img "Titanic Moves 1 of 3 Rotterdam.img"
ren 2HA.dat "Titanic Moves 2 of 3 Hawai.dat"
ren 22HA.img "Titanic Moves 2 of 3 Hawai.img"
ren 3NY.dat "Titanic Moves 3 of 3 NY.dat"
ren 33...
I am planning a procedue to release our software to our customers using an advanced version of an existing procedure which uses windows batch scripts. I am hoping to improve this process and automate the installation of the following items:
Files. Files are simply copied to a destination.
MSSQL Databases. I guess I'll use the OSQL comm...
So I'm writing this EXE to process refunds, and when the job's done, we're sending out an email to a list of users that will probably be like:
DO NOT REPLY
Refund processing has completed. N refunds were successfully processed. We encountered N errors. Please check http://whatever.url for a detailed report.
Thanks,
A computer
DO NOT...
Every once in awhile I am fed a large data file that my client uploads and that needs to be processed through CMFL. The problem is that if I put the processing on a CF page, then it runs into a timeout issue after 120 seconds. I was able to move the processing code to a CFC where it seems to not have the timeout issue. However, sometime ...
Hello i use the following command to delete files older than X days [%numb% is de amount of days]
forfiles -p "%temp%" -s -m *.* -d %numb% -c "cmd /c del @path"
Still..
When i execute it it just promps me with all features of forfiles and how it should be used...
Help?
...
i want to automate the task of uploading of a file at FTP site "uploads.google.com"
how can i achive this
...
I want a batch file which: removes a certain line [line number by %lnum%] in a txt file.
...
I need to run a .cmd batch file from within a php script. The PHP will be accessed via an authenticated session within a browser.
When I run the .cmd file from the desktop of the server, it spits out some output to cmd.exe.
I'd like to route this output back to the php page.
Is this doable?
Thanks in advance for your time.
...
I'm using PuTTY to access my BSD file server and I have several terminal windows open at once. I wrote a simple command file to automate opening the terminal windows and I'd like to know if it is possible to place them at a specific location.
I have two monitors and as it is now, I have to manually drag the terminal windows over to my s...
I am using NHibernate 2.1.0.4000 in one of the projects. I have set adonet.batch_size to 100 in the cfg file however I still see that insert statement is treated as single statement. Update seems to work fine. What's going on?
Updated:
Is it because I've chosen identity as the primary key generator?
<id name="Id" column="Id" unsaved-v...
Hello,
How can a batch file lists itself in the startup list of Windows???
It doesn't matter if it goes from the registry or not.
IF with the registry, please give also the command to DELETE the registry entry.
This should work under all versions from ME to 7 please.
Otherwise just XP/Vista/7.
Thanks.
...