Originally posted by techgnome BTW: ">" will create a new file (if it doesn't exist) or, will overwrite the file (if it does exist).
">>" Will append to an existing file.
nice.. thanks for the tips guys..
i am having trouble registering components via a batch file when my app is launched.. but it is only sometimes.. so i want to track down the exact error..
This process worked for me maybe i'm doing it differnetly then you are for trapping the error message. attached is my batch file and below are the steps that I used to validate this
1) I went into VB and created blank project with just a form and called it the default name of Project1.exe, then I ran this project on the c drive of my machine
2) I ran this batch file which tries to delete the project1.exe while it is running
errorlog.txt is the file it created and test.bat is the file that I ran.