- Feb 18, 2002
- 293
- 0
- 0
Ill try to make this as short as possible.
im trying to make a batch file that will compare 2 files and write a specific qoute to a text file. i have a visual basic program that points to variuos batch files to load multiple computers at work, and now the boss wants a data integrity check included into the program.
this is what i got so far
NET USE \\VWI1 snafu4u /user:administrator
dir /b /s \\VWI1\C\\graphic_db\VBDB >C:\VCOT_config\VWI1graphic_db.txt
im checking a database on a remote computer, inside the vcot_config folder on my computer i have a text file with the OG data base.txt
ive tried these with no success
::IF c:\vcot_config\VWI1graphic.txt==c:\vcot_config\67_graphic_db.txt type VWI1good > 123.txt
IF c:\vcot_config\VWI1graphic.txt==c:\vcot_config\67_graphic_db.txt goto 1
:1
type VWI1good >> 123.txt
and many others
this batch file would run on 40 computers and write to one txt file with a its computer name and saying database checked out
any help would be appreciated
Kaine
im trying to make a batch file that will compare 2 files and write a specific qoute to a text file. i have a visual basic program that points to variuos batch files to load multiple computers at work, and now the boss wants a data integrity check included into the program.
this is what i got so far
NET USE \\VWI1 snafu4u /user:administrator
dir /b /s \\VWI1\C\\graphic_db\VBDB >C:\VCOT_config\VWI1graphic_db.txt
im checking a database on a remote computer, inside the vcot_config folder on my computer i have a text file with the OG data base.txt
ive tried these with no success
::IF c:\vcot_config\VWI1graphic.txt==c:\vcot_config\67_graphic_db.txt type VWI1good > 123.txt
IF c:\vcot_config\VWI1graphic.txt==c:\vcot_config\67_graphic_db.txt goto 1
:1
type VWI1good >> 123.txt
and many others
this batch file would run on 40 computers and write to one txt file with a its computer name and saying database checked out
any help would be appreciated
Kaine