Solved

NET USE PERSISTENT

Posted on 2003-12-10
3
13,242 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

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

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…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

746 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now