|23 Apr 2011||#1|
| || |
Dir CMD not reading as it did
Im having problems running a programically generated BAT file that used to work fine on the VISTA platform. The command I am running is:
"Dir E:\VB Project\SearchForFiles /S/B | FindStr /L/I /C:"form" > D:\Search.Txt"
This as I say worked fine under VISTA.
Under WINDOWS 7 I get the following error:
"The system cannot find the file specified.
FINDSTR: // ignored"
If I run the command: "Dir E: /S" I will get a complete listing for all files and directories as one would expect....including the directory VB Project
If I run the command "Dir E:\VB Project /S" I get the error (After the system thinks about it): "File not found"
I have attached a scren shot of the errors.
I am at a loss as to why it behaves this way.
NB The VB app generates the BAT file based on selected data from within a Miscrosoft Common Dialog control.
|My System Specs|
|Similar help and support threads for2: Dir CMD not reading as it did|
|What are you reading?||Chillout Room|
|Reading a old HD||Hardware & Devices|
|Some useful reading here||System Security|
|What are you reading||Chillout Room|
|Reading fan RPM's||Hardware & Devices|
|not reading DVD||Installation & Setup|
|CPU reading?||Performance & Maintenance|
|Our Sites ||Site Links ||About Us ||Find Us |
© Designer Media Ltd
All times are GMT -5. The time now is 05:12 AM.