Over 1 million tech questions and answers.

Command line installation of printer drivers via printui.dll

Q: Command line installation of printer drivers via printui.dll

Is it possible to install printers using printui.dll command line using the bundled windows 7 printer drivers that come with the OS or from the update drivers that can be obtained from Windows Update? I have done this before using the printer drivers
and inf file that I've downloaded from a vendor site. But I need to install several printers that come bundled with the Windows 7, that don't have a corresponding download anymore on the vendor site. A couple examples would be the
Lexmark Optra M410 or Xerox 3250. I need to find out how to install a new printer object and then simply install additional drivers of various models without creating a new printer object.

RELEVANCY SCORE 200
Preferred Solution: Command line installation of printer drivers via printui.dll

I recommend downloading and running DAP. It can help sort out any driver and firmware related issues on your system

It's worked out well for many of us in the past.

You can download it direct from this link http://downloaddap.org. (This link will open the download page of DAP so you can save a copy to your computer.)

A: Command line installation of printer drivers via printui.dll

http://social.technet.microsoft.com/Forums/en-US/configmgrswdist/thread/f8e9c428-cb02-4562-90c7-af1e8e207689/

take a look there, think thats what you wanna do

Read other 9 answers
RELEVANCY SCORE 70

Is there a dos command to use a printer online? Every time I turn my computer on my network printer is offline, and I have to manually put it online before I print, so I wanted to write a quick batch file to run a startup to put it online. Thanks.

A:Use Printer Online From Command Line

Did you find a resolution to this question? I just joined this forum and have a similair problem with a Network Printer. I would like to change the status to Online.

Read other 5 answers
RELEVANCY SCORE 70

im testing it on windows 2000 & 2003 pls help me
 

A:How to print from the command line to a USB printer?

type print and the location of the file to be printed (ex. c:\>print help.txt) help.txt is located in drive c:
 

Read other 3 answers
RELEVANCY SCORE 70

How to print from the command line to USB printer?
 

A:How to print from the command line to USB printer?

What OS are you using?

I'll assume XP and move it to that forum...

buck
 

Read other 1 answers
RELEVANCY SCORE 70

I am trying to install the LPR monitoring windows component through the command line. I so figured out that the dll files that get copied over are lpdsvc.dll and lprmon.dll, However after I copy them to the c:\windows\system32 directory half the time the windows component adder still wants to look into the CD? How do I get around this and am I miss any files?

I am also look for a pure command line version of Print Migrator 3.1 that does not pop up a dialog box.

Here is what I have below, However I need to see about creating an if statement that will check to see it is already installed, but I dont have a clue to check for it?

LPR.BAT:

@echo off
cls
copy LPDSVC.DLL c:\windows\system32\
copy LPRMON.DLL c:\windows\system32\
sysocmgr /i:sysoc.inf /u:unattended.txt /q
printmig -r hub-120-bwq.cab
exit
unattended.txt:
[components]
Netoc = on

[NetOptionalComponents]
lpdsvc = 1
 

Read other answers
RELEVANCY SCORE 69.6

I'm trying to get Vista to load. When I try to load normally with boot logging enabled, the first driver it has trouble with is NDProxy.sys. It says loaded and then it says did not load (seems to try twice).

I copied a more recently updated driver from a working Vista machine (the old one was 2008--new one June 2010) and deleted the old one. (I saved a copy to removable drive.) The new file is about 50% bigger.

Now when I load normally the boot log shows that the driver again tries loading twice, but fails both times. With boot logging enabled on the donor machine there is no problem loading it.

Am I missing a step? Does something need to be changed in the registry? I searched all occurances of NDProxy in the registry and recorded the details. Nothing changed after reboot. The entries in the donor machine's registry were also very similar.

I doubt that this driver is preventing Vista from loading, but I want to get the hang of it before attempting to replace any others.

Note: Safe mode won't load either. Only command prompt is available (or Linux live DVD--no bootable Vista disc).

A:Copy drivers from command line

Safe mode does not load, may be your hard drive. Did you take a hard drive diagnostic test?

Read other 3 answers
RELEVANCY SCORE 69.2

Is it possible to create a printer share at the command line. I am working with an older, DOS based program that we map network printer shares to. I am now trying to use it with Terminal Services. I can get the users printer to show up on the Term server, but it does not share it, since it is recreated every time you log in. I figure I can map the share with a login script. Just can't figure out how to create the share to map.Thanks in Advance

A:Creating A Printer Share At The Command Line

What operating system are you working from, and what operating system are you mapping to?

Read other 4 answers
RELEVANCY SCORE 68.8

I want to hide this. I'm running a python progam (if that matters) and it always has that open on my taskbar. I want to hide it. I don't care where it goes or how much time it takes, I just want to hide it. So I never have to deal with it. Maybe make it a system process or something? I don't know.
 

Read other answers
RELEVANCY SCORE 68.8

I am attempting to add a printer via the command line using a batch file as an admin (to eventually deploy via SCCM TS on Win10):
rundll32 printui.dll,PrintUIEntry /in /ga /n"\\my network printer"
The command appears to run successfully but I am not able to find any trace of this printer in my printer list, print management, or in the registry (HKEY_LOCAL_MACHINE → SYSTEM → CurrentControlSet → Control → Print → Printers)
When I attempt to run it a second time I get the error message "Unable to add the per machine printer connection. Another printer or printer share with this name already exists. Please use another name for the printer."
Any ideas? Thanks in advance!

A:Network Printer Not Showing When Installing via Command Line

Go here and look at this page. It tells you how to do it via the .vbs scripts that are provided by Microsoft. I have never gotten the RUNDll32 option to work in Windows 7. What I normally do for printer installs is install all the printers that your organization/workgroup on one workstation until they are all installed they you want them to do and they all work. Then I start the program "printbrmui.exe" (Run it as an Administrator...even if you are logged in as an administrator). Then export all the printers to a file. Then goto the next workstation and then run an import (you can do this via Remote Desktop too). Anyway, hope this helps.

Read other 2 answers
RELEVANCY SCORE 66

Anybody know the command to copy a disk? Like Linux = cp /dev/sda /dev/sdb , or dd xyz -> xyx

What's the Windows command line syntax for this copy task?
 

A:Command line to clone disk? COMMAND line; NOT 3rd party app.

No. Don't believe that is built in. The latest Windows versions have imaging software built in with a GUI.

Or, DD For Windows

Free system imaging/backup software:

Macrium Reflect (Free)
O&O Disk Image Express
Comodo Time Machine
Clonezilla Live (A bootable CD of Debian with Clonezilla.)
Paragon Backup & Recovery
Drive Image XML
PING (Partimage is not Ghost)
Partition Saving
Clonezilla
 

Read other 3 answers
RELEVANCY SCORE 64

I am trying to install an HP 693C Deskjet printer to an off-line (no internet) HP Vectra computer with 32 RAM and 199 MHz. The computer will not read the CD with the printer driver information on it. Both the computer's "floppy" and CD drives seem to work okay for other applications. The installation disc contains driver information downloaded from the internet using another computer.

I have talked to HP who no longer supports this computer/printer and would charge more than the value of the unit to provide a "burned" CD.

How can I install this printer to this computer?
 

A:Solved: Installation of Older Printer to Off-line HP Computer

Read other 11 answers
RELEVANCY SCORE 59.6

Somehow the line that you put web sites -- after the http --has disappeared. I'm sure that there's a simple way to get it back but I'm new to WIN XP. Can someone help.
 

A:Lost command line -- line with site addresses WinXP

I think you are talking about the address bar in a web browser???

You did not mention what browser you are using. For Internet Explorer 6, right click in any other visible menu bar and then make sure that "Address Bar" is checked in the box that pops up. This may work for other versions of Internet Explorer.
 

Read other 3 answers
RELEVANCY SCORE 59.2

Hi!

I need before calling one program insert text into clipboard.
I can do batch for this, but really don't know any command to send any text to clipboard.
Exist any command or method how to do it?

Thank you for all.
Miro36

Read other answers
RELEVANCY SCORE 59.2

This is actually a 'sticky', so I'll leave it up to the administrator to move it.

Over many years, I have accumulated a fair amount of knowledge about Windows computers and have become the "tech support guy" for a number of friends. Problem is, they tell their friends and the latter call me about their problems. As you can see, this can turn into a geometric progression, so I started charging for fixing their problems.

One of those paying customers recently had a problem with his 4-yr.-old Acer laptop: It suddenly stopped connecting to the Internet (via an Ethernet cable). To make a long diagnostic story short, it turned out that lightning had struck a tree on the next-door neighbor's property, and it fried his Comcast modem. Comcast replaced the modem, but the computer still would not connect. The reason: Enough of the lightning had made it past the modem to fry the onboard Ethernet chip. All other functions of the computer worked, which I found bizarre. If lightning makes it to the motherboard, the entire board is usually fried.

While the wireless capability of the computer still worked, it was a low-end laptop and the OS was Vista. I gave him the choice of (a) buying and installing a router and connecting wirelessly or (b) give the laptop to his grandson, who needed one, and put the $$ he would have spent on a router into a new Win 7 laptop. He opted for (b).

In his search for a new laptop, he came upon a flat bargain: A Toshiba with an AM... Read more

A:Failed installation of printer drivers in Win 7

I've never run into anything like that, and I suspect there was a simpler solution.
 

Read other 3 answers
RELEVANCY SCORE 58.8

Hello,

I'm trying to split a .flv file by using flvparse, which is a Windows-only, command-line interface tool. I did get through to the directory by following instructions posted on another forum, however, command prompt doesn't seem to recognize the the .exe file. I'm an absolute novice at this, any help would be really appreciated!

Attaching a CP s/s, and here are the instructions I'm trying to follow (copy pasted from the forum)

FLVPARSER

For trimming the beginning and/or ending of videos, you can use FLVParser (http://dev2.avacast.com/FLVparser.zip ).
FLVParser is a Windows-only, command-line interface tool. After you unzip it, move its folder to C:\ for ease of use. Also for ease of use, copy/move the .flv file you wish to edit into the FLVParse folder.
To make edits, you need to know the in and out points where you want the edits. Use FLVPlayer to find these points. FLVPLayer only lists times in total number of seconds, not HH:MM:SS, but don't worry, FLVParser can handle that. In the FLVParse directory create a new blank text file called: CuePointFile.dat
This is the file FLVParser uses to edit from. Open it in NotePad, and enter the in point and out point, separated by a single blank space, like so: 2525 5150
Save, and close the file. Open up the command line interface and go to the FLVParse directory: cd C:\FLVParse
In the command line, enter this to edit the flv:
flvparse.exe FileToSplit.flv CuePointFile.dat
Your file will be split into ... Read more

A:Command Prompt doesnt seem to recognize the command line!!

You are using the basic cmd, try in elevated mode
Elevated Command Prompt - Windows 7 Forums

However looking at you screen shot, you may have to check the command over carefully. There does appear to be an error in the command. With my eyes, it is difficult at times to pick out the subtle shades of difference.

Read other 1 answers
RELEVANCY SCORE 58.8

Hi everyone, what is the commmand for command prompt to stop a process? What i would like to do is make a shortcut to stop the KBD.exe process. The reason for that is when someone in my family puts a disk in, plays a game, and sometimes when they take the disk out it complains about there being no disk in the drive. The only way to shut it up is to end the process in the task manager and click cancel on the window. This way is a little to complicated for some of the memebers of my family and i would like to be able to just create a shortcut for it.

A:Whats the command line command to stop a process?

Quote:





Originally Posted by djw2009913


Hi everyone, what is the commmand for command prompt to stop a process? What i would like to do is make a shortcut to stop the KBD.exe process. The reason for that is when someone in my family puts a disk in, plays a game, and sometimes when they take the disk out it complains about there being no disk in the drive. The only way to shut it up is to end the process in the task manager and click cancel on the window. This way is a little to complicated for some of the memebers of my family and i would like to be able to just create a shortcut for it.




Click on Start, then run
type in cmd to get to command prompt
type in taskkill /f kbd.exe

The forward slash /f forces it to kill the process.
Here is link for some examples

http://www.tech-recipes.com/windows_tips446.html

Read other 2 answers
RELEVANCY SCORE 57.6

Hello all, what command would I run to set JUST the secondary DNS on clients machine, and nothing else? I appreciate the help! :)

A:[SOLVED] What is the command line command to set up secondary DNS?

:) Anyone have any idea? Maybe this can be moved to the 2003 server forum?

Read other 3 answers
RELEVANCY SCORE 55.6

I need some help, but probably don't have a full grasp on the problem, so don't really know how to ask for help. I will describe what I have and hopefully, it will help to describe what I want to accomplish.

I have a Linksys router with DD-WRT installed. I am able to SSH/Telnet into the router. I would like to be able to reboot or shutdown my computer remotely from the command line during a Putty/SSH session.

Here is how I make the session connection: In Putty, I enter
the static IP address and port (default is 22) under "Session".
Under "SSH > Tunnels" I enter the "source port" (again, 22)
and "Destination" (ex - 192.168.0.5:3389), then hit "Add", then "Open"

This opens a command line, where I enter "user" and "pwd"
(the defaults are root and admin). I am now connected to my
router and I can use Remote Desktop to get control over my
remote computer (using XP Pro).

My question is: While at the command prompt, is there a
command to reboot or shutdown my remote computer? Is there a list
of other commands that are available here?

BTW, at the command prompt, I can start my remote computer (Wake on LAN) by typing the following command:
/usr/sbin/wol -i 192.168.0.5 MA:CAD:RE:SS:44
(where the last portion is the MAC address)
 

Read other answers
RELEVANCY SCORE 55.6

I came across this (hopefully) helpful article about command line basics.

Speaking UNIX: Command the power of the command line

Learn the basics of the UNIX shell and discover how you can use the command line to combine a finite set of UNIX utilities into data transforms.
 

A:Command the power of the command line

Good stuff, but then there's something wrong with his verbatim copy of a directory... You should add the p option to the tar extraction command, in order to preserve file attributes (ctime, mtime, atime, owner, group) - ie, tar xpvf and not tar xvf.

I use this regularly in order to make verbatim copies of a directory:

(cd /path/to/src/dir && tar cf - .)|(cd /path/to/dst/dir && tar xpvf -)
 

Read other 3 answers
RELEVANCY SCORE 55.6

I came across this (hopefully) helpful article about command line basics.

Speaking UNIX: Command the power of the command line

Learn the basics of the UNIX shell and discover how you can use the command line to combine a finite set of UNIX utilities into data transforms.
 

A:Command the power of the command line

Good stuff, but then there's something wrong with his verbatim copy of a directory... You should add the p option to the tar extraction command, in order to preserve file attributes (ctime, mtime, atime, owner, group) - ie, tar xpvf and not tar xvf.

I use this regularly in order to make verbatim copies of a directory:

(cd /path/to/src/dir && tar cf - .)|(cd /path/to/dst/dir && tar xpvf -)
 

Read other 3 answers
RELEVANCY SCORE 55.6

I want to create a setup whereas a command line command can be run from any directory/folder, without having to be in the directory/folder whereas the command line command resides ?

A:Executing command line command anywhere ?

Add the directory the cmd or bat files resides in to the PATH environment variable.





Quote:
To check or modify the system PATH environment variable, do the following:

XP: Right clock on My Computer
Vista, 7: Right click on Computer
Windows 8, 10: Right click on This PC

Select Properties

Vista, 7, 8, 10: Click on Advanced System Properties on the left

On the Advanced tab, click on Environment Variables
Under System Variables, scroll down to Path
Select it then click Edit

An easy way to look at all of it is to right click on the highlighted Variable Value field and select copy, then start Notepad and paste the data into there. That way you can easily look at all of it.

It's also a lot easier to make changes in Notepad then copy and paste the changed data back into the Path Variable Value field.

Click Ok as needed to exit when done

Read other 4 answers
RELEVANCY SCORE 54

Hi,
I was printing some music and had to change my settings.
After cancelling the printer, I tried to print with new settings,
But the printer won't print because it says Off-line.
I've tried right clicking the printer icon to put it On-line,
But it continues to say off-line.
How can i get it back on-line and printing again?
chuck.
 

A:Solved: Printer Reads Off-line, Won't go on-line.

Turn the printer off, then back on. Restart the computer.
 

Read other 2 answers
RELEVANCY SCORE 51.6

hi everyone hoping I can get some help here.
I am trying to install only the driver for an HP LaserJet P1102W to multiple windows 7 64 bit laptops. Group policy is not an option and we do not have server 2012 to use the add-driver from powershell.
I am trying to use printui.exe but keep getting errors even after I have followed multiple examples on the web and microsoft websites.
I am trying this locally before I incorporate it into a script so I am logged into the pc as the domain administrator
This is the command I am using:
printui.exe /ia /f c:\p1102w64bit\hp1100.inf /m "HP LaserJet P1102W"
I keep getting the error the Argument is invalid. 
Does anyone have any ideas.
Thanks,
Phil

A:printui.exe /ia cannot get past The Argument is Invalid.

Personally, I would not use printui.exe to implement printers or printer drivers programmatically.
Tip!
I would use printui.exe on Server Core installations, because installing printers and printer drivers without a Graphical User Interface (GUI) might be tricky.
Instead, I would use either the Printing Admin Scripts or PowerShell.

The Printing Admin Scripts
On Windows 7, Windows 8, Windows Server 2008 R2 and Windows Server 2012 there?s a folder named C:\Windows\System32\Printing_Admin_Scripts. In it you?ll find a folder named after the locale the OS was installed. This folder contains several *.vbs scripts.
prndrvr.vbs seems to do exactly what you want.
Print-related PowerShell cmdlets
The promise of PowerShell is to provide a more straightforward, human-readable shell. It?s good to know, then, Windows comes with several Print-related PowerShell Cmdlets:

Add-Printer, Get-Printer, Set-Printer, Rename-Printer, and Remove-PrinterAdd-PrinterDriver, Get-PrinterDriver, and Remove-PrinterDriverAdd-PrinterPort, Get-PrinterPort, and Remove-PrinterPortGet-PrintConfiguration and Set-PrintConfigurationGet-PrinterProperty and Set-PrinterPropertyGet-PrintJob, Restart-PrintJob, Suspend-PrintJob, Resume-PrintJob, and Remove-PrintJob
The Add-PrinterDriver Cmdlet looks to be the Cmdlet for this purpose.

Read other 4 answers
RELEVANCY SCORE 51.6

Hi,
Not sure if this is the right place to post this but I wanted to ask a tricky question.

I want to be able to access another PC via telnet (this I can do easily via RADMIN software) which gives the the CMD prompt access.

I then want to be able to launch a Sound file (or similiar) so that the user on the other end just hears whatever sound I have triggered (i.e. it doesn't have to launch WMP or similiar software).

Any ideas on how to do this?

I know it can be done as a clever guy I used to work with set it up and it was quite comical in the office when he was able to trigger cow noises, etc from anyone's PC by remoting in via the backend.

Cheers

Dave

A:run exe via command line

I don't know the answer, I just want to subscribe in case someone else does !

I suppose if you could figure out how the default Windows sounds are triggered you could find the command line to run them.

Read other 2 answers
RELEVANCY SCORE 51.6

Hi Guy's and Girls,

Just first off I've never been too good with CMD and only an Apprentice in my company I work for.

Now something I've wanted to do for awhile was to make the following but I don't necassirealy I know how to do this in one batch file:

I would need a Batch file that is able to read the follow;
Find Current Hard Drive Space and What is used (Dir can do this as far as im aware)
Convert the CMD information Into either a Excel Document or a .txt format.


If anyone could lend me a hand with this that would be great.

P.S the drives I want to make a log of are Server Destinations so i can monitor their disk space daily.

Regards
New Member
Dale

A:Command Line - Help

I don't know if this might help. I have a command line program that gives the free space in B KB MB GB using the largest appropriate. It's df.exe for disk free

[C:\Program Files\JPSoft\TCCLE13x64]df /?

df.exe 1.0.9.1 Copyright 2014 favessoft.com

Usage: df [ C D \\Name\Share ]
free disk space in one of B KB MB GB

( Truncated to 3 decimal places. )

example:
[C:\Program Files\JPSoft\TCCLE13x64]df c
383.848 GB Free on c:

If you would like to try it, it is free and may be downloaded from my page here:
Miles Ahead Software

Edit: you can use command line redirection to output to a file.
For example to append the result to test.txt you can do
df c: >>test.txt

Edit2: You may specify more than one drive on the line.
Example:
[C:\Program Files\JPSoft\TCCLE13x64]df c e
383.848 GB Free on c:
65.669 GB Free on e:

[C:\Program Files\JPSoft\TCCLE13x64]

Read other 9 answers
RELEVANCY SCORE 51.6

I am using Remote Destop Connection through Terminal Server for my stores to log into our point of sale, Which is on a Windows 2003 Server. Under the user accounts, it says I can have TS automatically open a specific program when they log in, but I have to enter that programs command line. How do I find what the command line for that progrram is?

Our pos also has an email client built in which can scan files with antivirus software. I need to find the command line for Norton AV too.
 

A:Command Line

I would think they are talking about the path to the file.

c:\Program Files\etc.....
 

Read other 1 answers
RELEVANCY SCORE 51.6

I recently installed new software that requires adding a command line to allow the software to restart and configure itself at start up. The manufacturer, who hasn't responded to my e-mail gives instructions to automatically load this software already configured by using the "command line". I'm using XP Pro. I believe that it's the last line below that needs to be loaded but my question is how do I so this. Here are the manufacturers instructions.
Usage:
VSPEmulator.exe <config file path> <options>
Config file is a special file with extension ".vspe" that can be created using VSPE "Save as..." command.
Options are additional parameters that can be passed to VSPE to manage its basic behavior.
-minimize : minimize VSPE dialog
-hide_splash : do not show splash window
Example:

Execute VSPE and automatically load configuration file
VSPEmulator.exe c:/config_files/main.vspe

Execute, load configuration file, hide splash and minimize VSPE
VSPEmulator.exe c:/config_files/main.vspe -minimize -hide_splash
 

A:How do i use the command line in xp

Read other 6 answers
RELEVANCY SCORE 51.6

How can I turn something like this:
[HKEY_CLASSES_ROOT\https\DefaultIcon]
@=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,\
00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,75,00,72,00,\
6c,00,2e,00,64,00,6c,00,6c,00,2c,00,30,00,00,00

into a Reg add command?

I need to turn a series of reg edits into a .bat to run, and am a little confused on how to convert between the two formats.

The original I have is from a .reg edit file, and I need to convert the keys to a .bat/ .cmd

Thanks!
 

A:Command Line Reg help

Read other 8 answers
RELEVANCY SCORE 51.6

Dear TS,

Currently I am working in access, fine tuning a little database.
In this little proggie I have made a button that directly links to a .bat-file that does nothing but open the folder H:/foto (Dutch)

In that folder are several kinds of criminal offenses.

It works like this for the user:

They click the photo-button, the folder opens and they will find by manual search the picture corresponding to the crime report. the pictures in that folder are ordered in sub-categories for a clear view.

What I'd d like to achieve is that the security-officials ONLY type something like "stepped on no-stepping-on-grass-sign" in a text bar and that they then click the photo-button and the H:/foto/stepped on no-stepping-on-grass-sign folder opens.

I know the idea of typing (part of a) directory and then press a button is just as lame as just viewing a folder that has only 25 sub folders anyway, but it's just what the security-officials want...

Thank you very much for your attention and help,

sincerely,

Meneer Geerts.
 

A:command line

I have an idea...don't know if it would work. Make a table in access; query to search the table on the partial name; attribute in the table is the full directory name or even the entire command line string. Put this on a macro that sends the result of the query to the command line?
lika2know
 

Read other 2 answers
RELEVANCY SCORE 51.6

How do we check if IE has finished downloading a file through command line..?

A:IE 6 Command line help

Start>Search>Name of File. Most downloads tell you when they're finished and if you need to manually install.

Read other 3 answers
RELEVANCY SCORE 51.6

Is there a cmd.exe /switch for ?run as administrator? ?

Thanks-

A:Command Line

  
Quote: Originally Posted by win7clutz


Is there a cmd.exe /switch for ?run as administrator? ?

Thanks-


Not that I'm aware of, but if you click the start orb, type "cmd" (without quotes) then right-click "cmd.exe" in the search results, you can then select "Run as Administrator" (but you already knew that...)

Here is a part of the switches available to CMD.EXE (You can get more by opening a command line window, then type "CMD /?" (without quotes) and pressing <ENTER>:


Code:
C:\Users\Peter Dzomlija>cmd /?
Starts a new instance of the Windows command interpreter
CMD [/A | /U] [/Q] [/D] [/E:ON | /E:OFF] [/F:ON | /F:OFF] [/V:ON | /V:OFF]
[[/S] [/C | /K] string]
/C Carries out the command specified by string and then terminates
/K Carries out the command specified by string but remains
/S Modifies the treatment of string after /C or /K (see below)
/Q Turns echo off
/D Disable execution of AutoRun commands from registry (see below)
/A Causes the output of internal commands to a pipe or file to be ANSI
/U Causes the output of internal commands to a pipe or file to be
Unicode
/T:fg Sets the foreground/background colors (see COLOR /? for more info)
/E:ON Enable command extensions (see below)
/E:OFF Disable command extensions (see below)
/F:ON Enable file and directory name completion characters (see below)
/F:OFF Disable file and... Read more

Read other 4 answers
RELEVANCY SCORE 51.6

Hi there-

Just reorganising my Library and for reasons I won't bore you with, need to do some mass amendments to Filenames to get rid of extraneous Info as I'm tight on Space.

So, for instance, I have a Folder (DIRectory) with one hundred PDF, Mobi, RAR, ZIP, CBR and CBZ files in it all with filenames in the following format :-

Henry Rider Haggard (Victorian Novelist, Africa Hand) [Title of Short Story/Novel/Graphic Novel].???

As :-

a) I do happen to know who H Rider Haggard is (having read my first book of his 55 years ago when I was Ten)
b) All the Files are going to go into a Directory (Folder) Entitled "Henry Rider Haggard" (in case I suddenly get struck down with Oldtimer's disease)

then I want to get rid of the words "Henry Rider Haggard (Victorian Novelist, Africa Hand)" which is common to every Filename.

My latest attempt at a Command Line blanket change from within the Folder (Directory) was the DOS command -

REN "Henry Rider Haggard (Victorian Novelist, Africa Hand)"*.??? *.???

I have also tried :-

Using the different extensions (.CBR .ZIP .RAR etc ) to change them 20 or 30 at a time
Using the same Format but *.* instead of *.???
Using no Inverted Commas on the part of the Description that I want to get rid of

Yes, I DO realise that in the time I have spent fiddling about with Command Line and composing this Post I COULD have done the whole thing Manually, BUT I have Sixty Five separate Authors to create Directories (Folders)... Read more

A:DOS Command Line

There is no such thing as Dos. Dos went the way of the Dodo bird, after 98 died. You have a Command window, that you can do certain things in. But what you are wanting to do, I am lost. It sounds like you are telling a story, not asking a question.

If you want to change a file name, you do it from Explorer in the Desktop. If you want to edit a file, you do it from what ever program was used to create the file.

Read other 44 answers
RELEVANCY SCORE 51.6

does win xp by default keep a log of command line commands executed?

i'm looking for a list of commands executed during the current windows session, but not the current command.com session (i.e. I closed the command prompt window, but haven't logged out)

also: does win xp keep a log of ftp transfers done by the built-in ftp command line utility?

Thanks much!

MS
 

A:command-line log?

No log, usually. You would need something like 4NT or PowerCmd to log command actions.
 

Read other 1 answers
RELEVANCY SCORE 51.6

I've been messing around with the ftp program in Windows XP's command prompt, and I've got something odd happening.

I uploaded a copy of AVG to my own website so I wouldn't have to hunt for it and so I could use this ftp program to download it. After giving the "get" command with the file name, the file downloads. But when it's done...if I go to run it, a new command prompt window opens for a split second, shows nothing, and disappears. This has happened on two different PCs now.

If I use a web browser to download the files, it works. I'm not sure what to make out of this. Could I be doing something wrong?
 

A:FTP at the command line

Sounds right, FTP is pretty simple. What is the FTP server on the other end that is dishing out the file?
 

Read other 1 answers
RELEVANCY SCORE 51.6

Wiondows XP has lost startup files. What is command line to copy all these files back onto machine for startup? And what is the complete set of files needed? thanks.

Read other answers
RELEVANCY SCORE 51.6

Hi,

I would like to know what is the command for delete files and shortcuts on current user desktop.

Is it del C:\documents and settings\*\local settings\desktop\popup blocker stops popups.lnk?

Using winxp pro. I know it is easlier to use windows explorer but I am doing this for interest.

Thank you.

A:Need some help on command line pls.

You are roughly right. When you open the DOS box, it will automatically be logged on the current user's account: C:\Documents and Settings\Account Name\

from there, change to the folder where the file or shortcut is located (for example, type CD Desktop, then press [ENTER]. Then type DEL (name of file or shorcut) and press [ENTER]

For stubborn files which won't delete while Windows is running, open the DOS box then end the EXPLORER.EXE process which quits the Windows shell but leaves the DOS box open for you to issue the DEL command on the stubborn file. When done, bring up the task-manager again (CTRL-ALT-DEL), log-off then log-on to restart the Windows shell.

Read other 2 answers
RELEVANCY SCORE 51.6

I wish to have downloads from the Web transferred directly to a file I have on my desktop. Presently it goes to program files/x86/program name. I wish it to go to my desktop and into "My Downloads". if possible. Can anyone help me accomplish this task? I need the command line. Thank you.

A:Command line

Hi Alvin,

First, if you aren't prompted for where to download files, see the following article to make sure that happens: Not Prompted to Specify Download Folder for File.

Second, if you are prompted but don't like where it selects and want it to be a different location (like the folder on your desktop), check out the following article: How to change the default download directory for Internet Explorer | Windows Reference.

I hope this helps.

Good luck!

Read other 3 answers
RELEVANCY SCORE 51.6

If I have created a new folder on my C: file and named it: "Odd Bods" for example.

Using the DEL Command Prompt in XP, what is the exact syntax to forcibly delete it?

I have tried by opening the Command Prompt and typing in "CD \" then enter to bring up the cursor "C:\>". Then I have typed: "Del /F Odd Bods" and "enter". The message then comes up; "Are you sure? y/n". I then type: "y" and enter, but the folder is not deleted.

Help!
 

A:DEL command line

If folder is on desktop:

Start
Run
Enter 'cmd /k' (no quotes)
Enter 'cd\' (will get you the C:\ prompt)
Enter 'cd\Documents and Settings\{your user name}\Desktop'
Enter 'dir /w'


If you can see the item, Enter 'erase [filename]'

del [filename] also works - for a directory (maybe folders too) RD [directory] works


edit: if you do the Start, run, cmd /k thing then type 'help' you'll get a list of the limited MSDOS commands remaining in the poor excuse for DOS XP supports.

For details on those, type, for example, 'help del' and you'll get the possible options.
 

Read other 8 answers
RELEVANCY SCORE 51.6

I was given a laptop to try an repair. None of the applications would open, it either asked how you want to open it or say no application found. After several tries I was able to do a virus scan. Couple Trojans and virus. Still no change in laptop. I googled the question and found someone asking a question with similar problem & was told to download this scan. I figured I had nothing to lose the laptop wasn't working so I outsmarted the virus & downloaded the program... After downloading, it needed to reboot. but before I allowed it to reboot I noticed the applications suddenly working... Rebooted & scanned. Its came up with 4 Trojans, 4 viruses & over 200 accounts of spyware. To remove them was $40 with $30 mail in rebate... My friend suggested that what I had downloaded was one of those scams that give you the Trojan & make you think they are getting rid of it for a price. They suggested I do a killdisk to wipe out the HDD and reinstall the OS.
Killdisk worked, it says I need to do a FDISK & FORMAT before I can download the new OS. I can't figure out how to do that. I get a blank black screen with a curser but it won't take any code. I have tried downloading the OS (windows XP) and it says it can't find any hard disk drives.

What am I doing wrong?
 

A:how do you get a command line?

Read other 10 answers
RELEVANCY SCORE 51.6

Foolishly signed up for AOL broadband (out of sheer laziness, I really should have known better!) and have found their online help to be a bit hazy in the area of commandline/batch commands.

What I want to be able to do is exit AOL, confirm my exit, exit AOL communicator (the nearest thing to POP3 that AOL offer) and shut down a few other programs I use all at once by means of a batch file.

Any ideas whether this is doable (the batch side of things I'm happy with, just the AOL command line stuff I'm not sure on).

Thanks guys.
 

Read other answers
RELEVANCY SCORE 51.6

does win xp by default keep a log of command line commands executed?

i'm looking for a list of commands executed during the current windows session, but not the current command.com session (i.e. I closed the command prompt window, but haven't logged out)

also: does win xp keep a log of ftp transfers done by the built-in ftp command line utility?

Thanks much!

MS

A:Log Of Command Line?

No to both. I'm unaware of an easy way to do this, preferring to save my sessions with the screen capture utility and pasting it into MSPaint.

Read other 1 answers
RELEVANCY SCORE 51.6

Hey, can anyone help me. I am trying to make a File using CMD edit which could dump all the tasks running. I can?t figure the code; I got "tasklist" part but then....
So I am a little lost, :dead: well actually I have no idea what I am doing . And while you are at it, can someone recommend me a program which has all the command lines and what they do. Or even those "click a command" programs (if there is one). Thanks.

(for the :suspiciou "why do I want it" folks, well I would copy the file on my USB disk drive, take it to the cafe down below and see which programs they are running - there is this program which, when I type "Patch" in the internet explorer shuts it down and so I am not able to download all those Quake, Farcry, Doom, Painkiller, Halflife and etc. patches which improve performance and add a little more game play. Then I would make another file which would shutdown those processes. Hope I am not confusing you guys.)
 

A:Command Line Help

Easiest way I can think of is to use
tasklist > "directory you want file in"\tasklist.txt
But I'm not sure I understand what you're asking for here. Perhaps you can try to clarify a bit?
 

Read other 1 answers
RELEVANCY SCORE 51.6

Hi Everyone...When I go to my computer and hit start button then the run button and type in 'ipconfig' or 'config' and some times other commands the screen comes up just for a spilt second and then it disappears. Now I have been in my registry trying to tweak my computer using blackviper.com tweak XP. I don't know if this has anything to do with but its the last thing I have done. I not sure when this started either. I run windows XP Pro sp 3 and its running pretty good right now. But something is wrong and I not sure where to start so if this makes any sense to someone I need some advice Please....and thanks tooLeRoyjoeEdit: Moved topic from XP to the more appropriate forum. ~ Animal

A:command line

open a command prompt window first
type cmd and then hit enter, and the command prompt window should open and any commands you now type wont disappear

Read other 2 answers
RELEVANCY SCORE 51.2

My HP Ece  solutions online will not work so I can print what can I do on this window 10 for a printer I am in need of one bad Microsoft did not tell us we would loose our printer when they started the over haul I wouod appreciate it very much if I
could get some help

[email protected] Hotmail.com

Read other answers
RELEVANCY SCORE 51.2

I want to store >> into a SET variable.

Normally, I would do this:
Code:
SET VARIABLE=>>
However this returns an error.

How can I store >> without using quotation marks?

It needs to be >> in order for my script to work correctly?

Hope you guys can help.

Thanks.
 

A:SET command in Command Line

Read other 10 answers
RELEVANCY SCORE 50.8

I received a Fujitsu Amilo, 80GB notepad running WinXP.

I'm trying to partition the disc into 4v20GB drives. NOw I have tried to use the Windows Doc Management facility - it does not work! You know, when you right click on the Primary partion (there is one only partition shown - 79GB) but, previously with previous computers, when you right click, the sub-menu that appears has a 'make new partition' selection. With this computer, when I right click, that selection is greyed out and unavailable. Now I must explain that the suppliers of this computer did not supply the original Windows didk but rather what they call a 'Recovery disk' What I assume is that this 'Recovery' disk does not supply the partitioning facility.
Anyway, so I tried to partition using the command line and the 'diskpart' command. Everything worked fine until I get to the final command where you enter what you want? This is my problem - how exactly do you enter the command?

I checked the Windows Help facility and entered 'create partition logical 20GB

but then received a list of commands to be used with 'diskpart'

I then tried 'create partition logical 20'

and back came the list

and the same thing happened with 'create logical drive size 20

and with 'create logical drive [size 20]

Could someone please tell me what I should type - or do - for me to create four partitions on my hard drive of sizes 20GB; 20GB; 20GB and whateve... Read more

A:Partition - using command line

Welcome,

You have Operating System on that Hard drive already?
 

Read other 1 answers