Refresh Directory from a Batch File

Hi,

I was wondering if it was possible to refresh a directory from a batch file, in Windows 2000?
Like pressing the F5 key, but I want to code it from a batch file for the current directory or the
directory of my choice.

Cheers

Cam
 
 
forrie13Asked:
Who is Participating?
 
drnickConnect With a Mentor Commented:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winui/WinUI/WindowsUserInterface/UserInput/KeyboardInput/KeyboardInputReference/KeyboardInputFunctions/keybd_event.asp

from outside the batch you'll never notice that a small program ran,
and you really don't have to do much in programming
0
 
drnickCommented:
... at least if you write a small proggy simulating f5, like with then keybd_event function, and then call it from your bat.
easiest way i can imagine and only one too.
regards
0
 
forrie13Author Commented:
keybd_event function? can that be done from the batch file?
0
 
drnickCommented:
no, you'll need to write a small program, let's say with visual c or such.
that you can call then from your batch file
0
All Courses

From novice to tech pro — start learning today.