Search found 7 matches
- 26 Dec 2013 18:54
- Forum: DOS Batch Forum
- Topic: how to define auto search file path.
- Replies: 10
- Views: 6805
Re: how to define auto search file path.
thanks you for your reply. this code can find the set of files on disk c .for example file path:c:\user\xx\appdat\locallow\xx.txt @echo off set "filename=1.txt" echo In the search, please wait... for %%a in (C) do ( if exist %%a:\nul ( for /f "delims=" %%b in ('dir /a-d /s /b &qu...
- 26 Dec 2013 18:50
- Forum: DOS Batch Forum
- Topic: how to define auto search file path.
- Replies: 10
- Views: 6805
Re: how to define auto search file path.
thanks you for your reply. this code can find the set of files on disk c .for example file path:c:\user\xx\appdat\locallow\xx.txt @echo off set "filename=1.txt" echo In the search, please wait... for %%a in (C) do ( if exist %%a:\nul ( for /f "delims=" %%b in ('dir /a-d /s /b &q...
- 26 Dec 2013 03:45
- Forum: DOS Batch Forum
- Topic: how to define auto search file path.
- Replies: 10
- Views: 6805
how to define auto search file path.
hi gay : i find a batch files. I modify some place.now i have a trouble about how to define search file path. i hope first auto search file: 1.txt in c disk. and relpace LastLogin to LastLogin=zl in 1.txt. Who can help me. @echo off set "filename=1.txt" echo In the search, please wait... f...
- 23 Dec 2013 01:15
- Forum: DOS Batch Forum
- Topic: batch command Search a file and replace a string in files.
- Replies: 6
- Views: 7667
Re: batch command Search a file and replace a string in file
foxidrive: thanks you for your reply. i find the batch file,but it can't meet my request. You offered links inside the code too much. i try to run you other code in c:\,but don;t run . can you help me ?thanks . @echo off type "file.cfg" | repl "(deployment.javaws.jre.0.enabled=)true&q...
- 23 Dec 2013 00:41
- Forum: DOS Batch Forum
- Topic: batch command Search a file and replace a string in files.
- Replies: 6
- Views: 7667
Re: batch command Search a file and replace a string in file
thanks for you help me . i don;t needed to compile java. i only need to modify java a configuration file. i install java jer7 and jer6,: you proide code i don't how to use .Could you help me with it? thanks! you say you install java so i assume you know Java. To compile Java program you need to use ...
- 22 Dec 2013 23:46
- Forum: DOS Batch Forum
- Topic: batch command Search a file and replace a string in files.
- Replies: 6
- Views: 7667
Re: batch command Search a file and replace a string in file
thank you for your reply. i problem is just replace deployment.properties file . i want to run this batch command through domain user . i replace deployment.properties file to run ufdia software. i install java jer7 and jer6, default deployment.properties file: #deployment.properties #Thu Dec 19 17:...
- 22 Dec 2013 21:17
- Forum: DOS Batch Forum
- Topic: batch command Search a file and replace a string in files.
- Replies: 6
- Views: 7667
batch command Search a file and replace a string in files.
Hi guy, I want to write a batch find and replace a string in files?, the batch is used to modify the Java configuration. who can help me! configuration file: #deployment.properties #Fri Dec 20 12:40:59 CST 2013 deployment.modified.timestamp=1387514459851 deployment.version=7.21 deployment.javaws.vie...