I am trying to run a POWERSEHLL script from within access. The script is called from a .BAT file, whihc, if run from Winfdows operated happily. There are 2 lines in the .BAT file, as follows:
SUBST T: C:\TRAFFIC
POWERSHELL T:\AMGBACK.PS1
Following is the line in the Access Event Procedure
Application.FollowHyperlink "T:\BACKUP.BAT"
The SUBST command runs happily, but not the POWERSHELL command.
Any suggestions??
SUBST T: C:\TRAFFIC
POWERSHELL T:\AMGBACK.PS1
Following is the line in the Access Event Procedure
Application.FollowHyperlink "T:\BACKUP.BAT"
The SUBST command runs happily, but not the POWERSHELL command.
Any suggestions??