Calling the Shell command

aziz rasul

Active member
Local time
Today, 09:53
Joined
Jun 26, 2000
Messages
1,935
In one db I have the following line of code: -

'Changes the .dat extensions to .txt for all the .dat files
Call Shell("D:\Telewest\TextFiles\IN\LO_DATA\DATTXT.bat", 1)

However when I try to implement the same statement in a different db it doesn't do anything. No error appears. Here's the line:-

Call Shell("D:\Telewest_Alexis\CEASE_Records\IN\GO.BAT", 1)

Why does it work in one db and not in the other.

I realise I can achieve the same purpose of the batch file using the Name command, but I prefer this way of renaming file extentions.

Any help would be appreciated.
 
Have you verified that

"D:\Telewest_Alexis\CEASE_Records\IN\GO.BAT"

Runs from the "Run" menu?
 

Users who are viewing this thread

Back
Top Bottom