Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Griffyn said:Create a batch file called NET.BAT and put it in a directory that is referenced in the PATH environment variable *before* WINNT\SYSTEM32, which is where the NET.EXE program lives.
Contents of NET.BAT should be:
@echo off
if /I '%1'=='SEND' goto End
%WINDIR%\SYSTEM32\NET.EXE %1 %2 %3 %4 %5 %6 %7 %8 %9
:End
What is this doing?
Because of the path statement, NET.BAT will be found before NET.EXE, and so it will get run instead. This will not happen if the current directory is \WINNT\SYSTEM32.
Because we don't want to block off all the NET functions, the first line does a case insensitive (/I) compare of the first parameter. If it's not SEND then it calls the real NET program.
Hope that works. You'll need Command Extensions enabled to use the /I switch. I think they're turned on by default.