Solved

NET USE PERSISTENT

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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

The following is a collection of cases for strange behaviour when using advanced techniques in DOS batch files. You should have some basic experience in batch "programming", as I'm assuming some knowledge and not further explain the basics. For some…
One of my most closely kept secrets is revealed in this discussion How to output text on the same line This question was recently posted in EE by Simon336697 (http://www.experts-exchange.com/Programming/Languages/Scripting/Shell/Batch/Q_2459…
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…

776 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