var sidebar_align = 'right';
var content_container_margin = parseInt('290px');
var sidebar_width = parseInt('270px');
Unanswered: Command line from A2K
I want to open a command window, change the directory and issue a command from VBA. I'm trying to use the shell function but I cannot get it to accept any arguments. Can anyone point out my mistake?
Shell "cmd.exe -s:" & "cd.. myFunc<infile>outfile", vbNormalFocus
Here's how to do it. i guess that it was more of a scripting question than an Access question.
I haven't used this site for some time so maybe I missed something. What happened to the advanced search option? I can now only do a generic search.
Dim oShell as Object
Set oShell = CreateObject("WScript.Shell")
oShell.Run "cmd.exe /K cd c:\\myDir &myFunc<infile>outfile", 0
Set oShell = Nothing