General discussion

Locked

batch files ...win95/98

By isoro ·
have batch files with drive mappings beyond root directories e.g net use x: \\server\root\sub /y
Each user home directory is set to connect to using the %username%. when the scripts run on win2kpro connection is ok. however on 98/95 an error message appears. I tried sharing the folder
%username% to limit mapping to a shared root but that didn't help. i need a detailed approach.

This conversation is currently closed to new comments.

3 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

batch files ...win95/98

by azizhakim In reply to batch files ...win95/98

Win9x clients do not recognise %username% as enviroment variable.Also 9x clients do not read bat Extentions.save your bat file with cmd ext in your netlogon share.To implement on 9x clients define variable eg set os==windows95.include your drive mapping etc.You could include all in one script eg
if exist %os%=="windows_nt" goto nt
set os==windows9x
[Place win9x scripts]
:nt
[nt scripts here]
With cmd ext should execute Good luck

Collapse -

batch files ...win95/98

by isoro In reply to batch files ...win95/98

Poster rated this answer

Collapse -

batch files ...win95/98

by isoro In reply to batch files ...win95/98

This question was closed by the author

Back to Software Forum
3 total posts (Page 1 of 1)  

Related Discussions

Related Forums