Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

NET USE PERSISTENT

Posted on 2003-12-10
3
13,266 Views
Last Modified: 2008-03-27
Hi Experts,

    I would like to make a persistent printer connection in 98 but seems that there's no "PERSISTENT {YES|NO}" features in win98 NET USE COMMAND. Any work around ? PLS HELP.


Thank You.
0
Comment
Question by:wzm
3 Comments
 
LVL 9

Expert Comment

by:tinchos
ID: 9917726
Hi wzm,

A possible solution is

make a netCommand.bat file

in which you define the command you want to execute

NET USE ....

and then place your netCommand.bat in the startup group, which are going to be executed at startup.

(I'm not sure but I guess that you can also add it in the autoexec.bat file)


Cheers!

Tincho
0
 

Author Comment

by:wzm
ID: 9917914
I dont know what u mean tinchos. My NET USE is of course, already in a *.bat file. This is usual for MS-DOS codes.

The problem is ... NET USE for NON XP AND NT AND 2000 ; that's is 98 ; which i'm referring to; does not have that NET USE / PERSISTENT:YES feature.

What I need is just a replacement of this codes or a work around.

Pls Help

Thanks

0
 
LVL 8

Accepted Solution

by:
K_2K earned 35 total points
ID: 9918118
That's correct, 98 never had a persistent.  We simply put the mounts (net use) in the logon scripts, which has the same affect as persistent since the logon script runs before the desktop is loaded.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Using dates in 'DOS' batch files has always been tricky as it has no built in ways of extracting date information.  There are many tricks using string manipulation to pull out parts of the %date% variable or output of the date /t command but these r…
VALIDATING DATES One method of validating dates is to jam the date into the DATE command and see if it accepts it by examining the system's errorlevel value. A non-zero result indicates failure. A typical example might look something like the fol…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question