Jump to content

Recommended Posts

Posted

Hi All,

 

I have created an exam environment with a few different scripts including a VBS script that kills explorer.exe so students don't get the task bar and a command to open up an exe i have created. In the exe window i have a icon that is supposed to open up H:/ (home area) but when you click it I get "Server execution failed" after a few seconds of the command prompt hanging.

 

When I run the environment with explorer.exe running the links work fine and open the appropriate drive however as soon as explorer is killed it stops.

 

Does anyone know a way around this?

 

Any suggestions appreciated.

 

Many Thanks

Posted

Well... Access to the command prompt is disabled as its a student account however it can run scripts. I have icons that run vbscript commands (i.e)

 

Sub RunFolder Set objShell = CreateObject("Wscript.Shell")

objShell.Run "cmd /c start H:/"

End Sub

 

This works for everything else but it hangs on opening any drives

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...