Computer Support Forum

Win 10 home 64 bit command line Sleep command

Question: Win 10 home 64 bit command line Sleep command

If I use the power icon and thenclick sleep my backup software will wake up my computer and backup run myschedule.
If I use any of the followingcommand lines, the software cannot wake my computer, I have ran ?powercfg/h /off? at C:\windows\system32 in Powershell as administrator
Does anyone know of a bettercommand to put the computer to sleep?
%windir%\System32\rundll32.exepowrprof.dll,SetSuspendState Standby
%windir%\System32\rundll32.exepowrprof.dll, SetSuspendState Standby
C:\Windows\System32\rundll32.exePowrprof.dll,SetSuspendState Sleep 0,1,0
C:\Windows\System32\rundll32.exe Powrprof.dll, SetSuspendStateSleep 0,1,0
Doyou know of a better command to put the computer to sleep

I downloaded psshutdown
C:\Windows\psshutdown.exe -d -t xx xx= number of sec till sleep

Relevance 100%
Preferred Solution: Win 10 home 64 bit command line Sleep command

I recommend downloading and running Reimage. It's a computer repair tool that has been proven to identify and fix many Windows problems with a high level of success.

I've used it in the past to identify and fix everything from blue screens (BSOD's), ActiveX errors, corrupt files and processes, dll/exe/sys errors, recover lost memory, Windows update problems, defragging, malware removal etc.

You can download it direct from this link http://downloadreimage.com/download.php. (This link will automatically start a download of Reimage that you can save to your computer.)

Answer: Win 10 home 64 bit command line Sleep command

JimO said:

If I use the power icon and thenclick sleep my backup software will wake up my computer and backup run myschedule.
If I use any of the followingcommand lines, the software cannot wake my computer, I have ran?powercfg/h /off? at C:\windows\system32 in Powershell as administrator
Does anyone know of a bettercommand to put the computer to sleep?
%windir%\System32\rundll32.exepowrprof.dll,SetSuspendState Standby
%windir%\System32\rundll32.exepowrprof.dll, SetSuspendState Standby
C:\Windows\System32\rundll32.exePowrprof.dll,SetSuspendState Sleep 0,1,0
C:\Windows\System32\rundll32.exe Powrprof.dll, SetSuspendStateSleep 0,1,0
Doyou know of a better command to put the computer to sleep



The first one simply turns Hibernation off, disables Fast Startup, and deletes the system file hiberfil.sys. I'm not aware of connection with Sleep or waking up on a trigger. I have these settings, as stated, on my machine, and I can still put it to sleep and wake it up. I'm not familiar with the last four at all, although sleep states are usually (I think) set in the BIOS. Whatever is set there is available in the OS. S0-S4, I think. Maybe S5.

A little more info here: NO Hibernation just SLEEP

Also, you might want to check your advanced power plan settings to see if you have enabled wake timers.

1 more replies
Relevance 105.37%

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.
 

More replies
Relevance 101.27%

I've been using this command to put my computer into sleep mode:Rundll32.exe Powrprof.dll,SetSuspendState SleepI reinstalled windows today and now its putting my computer into hibernate, or a hibernate-like mode.what setting did i change on my old installation that im not doing now?

Answer:Sleep from the command line

Greetings,You'll need to disable hibernation for the that command to initiate standby. Type the following.. powercfg -hibernate off. After hibernation has been disabled everything should work as planned.

2 more replies
Relevance 101.27%

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?
 

Answer: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
 

3 more replies
Relevance 100.04%

How to do them without breaking something?

Sleep in my computers are hybrid (desktop) and not hybrid (laptop).

Quick boot is off.

More replies
Relevance 97.99%

Hibernate and Sleep command prompts not working


I have created command prompt shortcuts for Shutdown, Restart, Hibernate and Sleep in Windows 8. Shutdown and Restart work fine. I created two icons:
Sleep: (,,,SetSuspendState 0,1,0) and Hibernate: (,,,SetSuspendState hibernate)
If I enable hibernate (powercfg -h on) then hibernate works but sleep also hibernates.
If I disable hibernate, the sleep works and hibernate does nothing.
The strange part is with hibernate ON, the command line for hibernate works and the sleep button in the Charms DOES put it to sleep and the hibernate command line works.
So, my question is: what is different about the Charms Sleep button than the command line and how can I get a command line for both?
Any help would be appreciated. Thanks in advance.

Answer:Hibernate and Sleep command line prompts not working

The trouble seems to be in the design of the interface itself. An article over at TechRepublic shows that the command for both hibernate & sleep are the same, but vary in their effect based on choices made in the Advanced Power Options menus (Control Panel app).

The command they seem to share:
rundll32.exe powrprof.dll,SetSuspendState

The effects are exactly as you describe, with hibernation enabled, you can allow Sleep from the Charms menu but not from the command line shortcut, while hibernation will work from both a Charms icon or a command line shortcut. I haven't yet found a command line solution.

With hibernate enabled, however, a few almost as quick solutions:
1) From the desktop (minimize any open windows first), use the ALT and F4 key-combo to produce the shutdown menu, providing all options - shutdown, sleep, hibernate, restart, sign out (used to be called Log off), & Switch User.
2) Follow the steps in the Tech Republic article to attach a shutdown menu to the Windows 8 desktop --- Add a Shutdown menu to the Windows 8 desktop | TechRepublic

There is another article on the Computer Performance site in Great Britain that goes into great detail on the maze of power settings in Windows 8. Fair warning: it's rather hard to read that article with all the advertisements in the way, but the information itself is good stuff. --- Windows 8 Sleep Mode Hibernate Problem

Best of luck,
. . . Gary

4 more replies
Relevance 97.99%

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.

Answer: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

2 more replies
Relevance 97.99%

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

Answer: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.

1 more replies
Relevance 97.17%

I have tried accessing the command line by the following route:

Start
Run
cmd

I get the black window titled c:\windows\system32\cmd.com with a flashing cursor but it will not accept any of my keystrokes. Can anyone help?

Thanks
 

Answer:Command line in XP Home

are you logged in to an admin account?
 

2 more replies
Relevance 96.76%

i want start a Run a scheduled task via command line like this:

Code:

%SystemRoot%\system32\taskschd.msc /Run /TN "RegIdleBackup"
when i run the cmd in the prompt as admin the shedular task GUI pop up but the task not start.

Is there a solution?

Is the problem related to windows 10 ?

Answer:Run a scheduled task via command line via command line

Hi, assuming you want to set up a scheduled registry backup, why not take advantage of this free tool, which also offers various repairs?

4 more replies
Relevance 95.94%

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

Answer:[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?

3 more replies
Relevance 95.94%

I have created a manuals package. The package has a main file that everything else is linked to. I can create a self extracting exe program from pkzip application. What I don't know how to do is have the program create a shortcut to the main file from this program. If it is not possible to do this with pkzip then what application will do this.i.e. I want to have something say "Would you like to create a shortcut to Manuals or your desktop?" in the or any file extraction application.Thank youRJT

Answer:How to create self extracting command line command

You can create a WinScript file (.vbs extension)Example:set WshShell = WScript.CreateObject("WScript.Shell")         strDesktop = WshShell.SpecialFolders("Desktop")         set oShellLink = WshShell.CreateShortcut(strDesktop & "\Shortcut Script.lnk")         oShellLink.TargetPath = WScript.ScriptFullName         oShellLink.WindowStyle = 1         oShellLink.Hotkey = "CTRL+SHIFT+F"         oShellLink.IconLocation = "notepad.exe, 0"         oShellLink.Description = "Shortcut Script"         oShellLink.WorkingDirectory = strDesktop         oShellLink.SaveYou'll have to change the parameters for your own situation. Good Luck!

2 more replies
Relevance 93.07%

I just ran the netstat command in command.com and these are the results: (it just started doing this today)

Microsoft(R) Windows DOS
(C)Copyright Microsoft Corp 1990-2001.

C:\DOCUME~1\Owner>netstat
═!X╟♠┐ \ ╟♠╜ ► ║[▒♦╙Ω▬═ +┬☻, ♂└t♠■♠ δ♥ΦX♦└┤↓═!■└☻\
└t#┤:☻♦

(then I hit enter hoping to open another prompt and the app (command.com) just closed) (yikes lol)
this was happening with CMD.EXE earlier today using any command, but i thought this was a separate issue, apparently not

also running cmd.exe from (start menu>run) ...Now CMD WILL NOT even open.

I ran norton full sys scan and nothing.

I hope I dont have a virus that has yet to be defined. (fingers crossed).

So in essence the command.com (command interpreter) now shows the win-ding font or some other sort of encryption,

and cmd.exe (command shell) wont even open now.

I have internet access ok, and all other apps seem to be running fine.

Its almost as if someone, some process, or some app does not want me to be able to see what Im connected to in real time by using the netstat -a command. (am i going to conspiracy here? lol ... Read more

Answer:Solved: In urgent need of MVP/ command shell and command.com issues (XP HOME SP1)

addressed in another forum
 

1 more replies
Relevance 92.66%

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 ?

Answer: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

4 more replies
Relevance 92.66%

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.
 

Answer: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 -)
 

3 more replies
Relevance 92.66%

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)
 

More replies
Relevance 92.66%

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.
 

Answer: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 -)
 

3 more replies
Relevance 92.25%

I did a malware scan using a copy of malwarebytes that I think was counterfeit. Since that time Neither Firefox, Chrome, or Opera will return web pages, and each reports a host not found message.  Can't ping, or tracreroute any named host from the command line,either.  I loaded a copy of SLAX 7 on a CD and when I boot it on the same computer, on the same network, I have no problem connecting to websites. (I'm connecting to this site, on that computer using slax, now). I'd never heard of your group before, and connected to another board on this site and opened up a thread asking for help, and got very understanding advice.  After some diagnostics there, I got referred to this board, and I'd like to open up a new thraad. I've used Avast and AVG on the computer already, and a varified, legitimate copy of malwarebytes and don't show any malware. My windows firewall service won't start, and can't get windows defender or security center to work.Also I haven't got enough disk space to perform a backup. I have an OEM Dell version of Visa, and no original CDs.  If you help me at all, I'd really appreciate it.  Here are the results of the FRST logs......Scan result of Farbar Recovery Scan Tool (FRST) (x86) Version:18-04-2016Ran by bruce (administrator) on MOBILE (24-04-2016 00:53:01)Running from D:\rescueLoaded Profiles: bruce (Available Profiles: bruce & thomas & Administrator)Platform: Microsoft® Windows Vista™ Home... Read more

Answer:DNS Services not working in Vista Home Premium from browsers or command line

Greetings Thomas and to BleepingComputer's Virus/Trojan/Spyware/Malware Removal forum.My name is Oh My! and I am here to help you! Now that we are "friends" please call me Gary.===================================================Ground Rules:First, I would like to inform you that most of us here at Bleeping Computer offer our expert assistance out of the goodness of our hearts. Please try to match our commitment to you with your patience toward us. If this was easy we would never have met.Please do not run any tools or take any steps other than those I will provide for you while we work on your computer together. I need to be certain about the state of your computer in order to provide appropriate and effective steps for you to take. Most often "well intentioned" (and usually panic driven!) independent efforts can make things much worse for both of us. If at any point you would prefer to take your own steps please let me know, I will not be offended. I would be happy to focus on the many others who are waiting in line for assistance.Please perform all steps in the order they are listed in each set of instructions. Some steps may be a bit complicated. If things are not clear, be sure to stop and let me know. We need to work on this together with confidence.Please copy and paste all logs into your post unless directed otherwise. Please do not re-run any programs I suggest. If you encounter problems simply stop and tell me.When you post your reply, use the button instead.In th... Read more

19 more replies
Relevance 92.25%

When I am told to go to START/SEARCH and type in COMMAND, so I can RUN as Admin, it finds neither COM.exe or COMMAND.exe so I can "Run as Admin" in the DOS windows. It use to.

I do have a RUN command that will bring up the DOS window but when executing some commands like CHKDSK it tells me I have to run as ADMIN.

Any recommendations on how to fix this issue? I have GHOST/Virtual CD/DVD drives I cant get rid of and this Forum has a solution but I need that Command.exe as Admin.

For example: the page on GHOSTS DVD/CD says to first run sfc /scannow

When it runs it says "You must run as Admin"

But I do not know how to make it ADMIN except to right click on COMMAND/COM and select "Run as Admin" after I find the file COMMAND/COM.

Thanks

Answer:My Windows 7 64bit Home Premium does not have a COMMAND or COM command

It is "cmd" that you should be typing in search.

5 more replies
Relevance 85.69%

... display an HTML file in the command prompt?

I know I've seen it before...

You go into command prompt, give the command or commands, and it would display the html file... obviously as text, with some information before it and so forth.

Does anyone know what it is/how to do it? I can't remember where I saw it and I can't remember how to do it...
 

Answer:Command line command to...

type filename.txt or in your case, type filename.html
 

9 more replies
Relevance 85.69%

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.
 

Answer:SET command in Command Line

10 more replies
Relevance 83.23%

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.
 

Answer: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.
 

3 more replies
Relevance 78.72%

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?
 

Answer: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?
 

1 more replies
Relevance 78.72%
Question: Command Line

Do any of you guys know how to restart a network card? (disable/enable) from the command line in windows (particularly windows server 2003). I want to create a batch script to restart this if the server can't connect to something on the internet after a certain time period.

I'm having a problem with a network card just stopping to respond for some reason and the only way I can get it to work again is to restart it that way unless i want to restart the whole server. I had this problem with another server as well. About all I can think of is either the switch is malfunctioning or i'm screwing up some sort of dns issue.
 

Answer:Command Line

wouldn't it make more sense to try and figure out what is causing your problems? Patching things with duct tape won't get you far.
 

11 more replies
Relevance 78.72%

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.

More replies
Relevance 78.72%

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

Answer: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.

3 more replies
Relevance 78.72%

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

Answer: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]

9 more replies
Relevance 78.72%
Question: DOS Command Line

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

Answer: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.

44 more replies
Relevance 78.72%
Question: command line

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

Answer: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

2 more replies
Relevance 78.72%
Question: DEL command line

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!
 

Answer: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.
 

8 more replies
Relevance 78.72%

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

Answer: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.

1 more replies
Relevance 78.72%
Question: command-line log?

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
 

Answer:command-line log?

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

1 more replies
Relevance 78.72%
Question: command line

How do I create a batch file that will execute an exe and have this syntax "omnimm -repository_barcode_scan HP:UHDL-LTO_eilrhmw001" follow through:-e.gecho offstart "C:\program files\omniback\bin\omnimm.exe" omnimm -repository_barcode_scan HP:UHDL-LTO_eilrhmw001What I would like to know is how can the above action be incooperated to the exe file when it is executed?

Answer:command line

combine the line.eg.echo offstart "C:\Program Files\omniback\bin\omnimm.exe -repository_barcode_scan HP:UHDL-LTO_eilrhmw001"that should be what you need (tested on XP SP2, works for me)

1 more replies
Relevance 78.72%
Question: Run Command Line

Anybody know the Run command to show ip address' etc on a XP and Vista machine. Cheers all

Answer:Run Command Line

I know that you start with cmd

2 more replies
Relevance 78.72%

Ok short version first

I need to find a way to put the output of one program into the command line of another.

Dates.exe -> 6-3-2005
Zip %dates%.zip *.html
output into 6-3-2005.zip
is basicly what I want to do

If that doesn't make sence heres the long version

I have a stat program that generates html files, now in order to sort them I want to use the date as a filename for the zip file. So I have a date program that outputs the right format and a command line archive utility(zip program). .... MY Problem is I can't figure out how to set a variable from a txt file or output of the Date program, or use the output of the Date program in the command line of the zip program.

If anyonw can help please do.

Answer:Need some command line help

anyone?

4 more replies
Relevance 78.72%
Question: command line

is it possible to creat an admin account through a non admin account via command line?

Wolf
 

Answer:command line

Not without admin rights, no.
 

3 more replies
Relevance 78.72%
Question: command line

how do you change the messenger startup setting from disabled to automatic through the command line.

Answer:command line

can't. you have to change it to manual in the control panel before you can change it on the cmd line.

services.msc
change setting. Then use cmd for the rest...

6 more replies
Relevance 78.72%

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

Answer: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.

2 more replies
Relevance 78.72%
Question: Command Line Help

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.)
 

Answer: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?
 

1 more replies
Relevance 78.72%

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.

Answer: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.

2 more replies
Relevance 78.72%

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?
 

Answer:how do you get a command line?

10 more replies
Relevance 78.72%
Question: command line

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.
 

Answer: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
 

2 more replies
Relevance 78.72%
Question: Command Line

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.
 

Answer:Command Line

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

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

1 more replies
Relevance 78.72%
Question: command line

Are there any Windows equivalent commands for the following commands on Linux:

1.to launch a process one after another U type this:

Code:
foo1 && foo2 && foo3 & ...
2.to launch a process with a certain delay U type the following:

Code:
at +5min foo
3.to launch a process from a terminal but only in the background U just type & at the end of command.
 

Answer:command line

"at" is a simple dos command that still exists. type "help at" at the command prompt. Same for the "&&" placeholder (eg. dir && edit lists directory contents and starts the editor after that).
 

7 more replies
Relevance 78.72%

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!
 

Answer:Command Line Reg help

8 more replies
Relevance 78.72%
Question: AOL Command Line?

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.
 

More replies
Relevance 78.72%
Question: Command Line

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

Thanks-

Answer: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

4 more replies
Relevance 78.72%

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
 

Answer:How do i use the command line in xp

6 more replies
Relevance 78.72%
Question: Command line

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.

Answer: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!

3 more replies
Relevance 78.31%

I run VLC from command line on Windows 7 Pro x64 with this command:
vlc.exe -I telnet --telnet-password=1 dshow:// ":dshow-vdev=none" ":dshow-adev=" ":live-caching=300" ":sout=#transcode{vcodec=none,acodec=mp3,ab=128,channels=2,samplerate=44100}:http{mux=mp3,dst=:8080/}" :no-sout-rtp-sap
:no-sout-standard-sap :sout-keep

It's start and work. I can connect to http://127.0.0.1:8080/ with another VLC and listen audio from my microphone.
But when I run this command from bat-file, VLC start and not work. I cann't connect to http://127.0.0.1:8080/
I can connect to VLC with telnet, but command "get_time" give 0. Another commands give the same output when VLC broadcast audio from microphone correct (info, is_playing, playlist, get_title). When I run VLC from command line it work correct: "get_time"
give correct number of seconds.

When I run this bat-file from command line manualy VLC run and work correct. If I run bat-file I cann't connect to http://127.0.0.1:8080/ but I can connect to VLC with telnet and all commands say that it's playing broadcast audio. Only "get_time"
give 0.

I want run VLC from task manager and then stop it.
I created question on  VideoLan https://forum.videolan.org/viewtopic.php?f=14&t=141468
But I assume problem in Windows command line promt.
Why the same command can give different result in command line and in bat-file? How can I solve this problem?

More replies
Relevance 77.9%

Hi Everyone, I have just started having Zone Alarm popping up a notice saying that COMMAND LINE UTILITY is trying to access the internet.

I haven't allowed it to do so as I do not know what it is, however it seems to be connected with an application called "MpCmdRun.exe"

Does anyone know anything about either one of these two things?

Thanks Wendy

Answer:Command Line Utility

If you have installed Windows Defender (which became offered last week as the successor to the Microsoft Antispyware beta), it is the automatic update attempting to access the newest malware definition files.

2 more replies
Relevance 77.9%

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

Answer:Partition - using command line

Welcome,

You have Operating System on that Hard drive already?
 

1 more replies
Relevance 77.9%

everytime i try and start a command line program, the program flickers then exits, this is extremely irritating and i am trying to run command lines with no luck pleaseee help me out on this one!

Answer:Command line error!!

Howdy d213753

Are you clicking Run..the typing in command? Also you can try typing in cmd.exe

4 more replies
Relevance 77.9%

Hello everyone, i d like to disable my mic from command line

how do i do that?
thanks!

More replies
Relevance 77.9%

I am a long time programmer and computer science professor, since 1979.
I grew up with the command line and like it just fine.
But Windows 7 seems to change the GUI way of doing things and not mess with the command line.

Yesterday I was at the command prompt and went to C:\users\Stockwell
and then did a "dir". I saw several directories, but there was no "My Documents" listed. I did
cd "My Documents"
and it worked!
Then I copied over several .xls files from a USB key. I did a dir to see them.
It showed nothing!
Then I ran Excel 2003 (I can't stand Office '07!) to open them -- and they all showed up in My Documents and I opened them.
What the hell gives here?

Answer:libraries and the command line

Did you create another folder called 'My Documents' ? If you did, I would think it would be listed under Documents. (click the arrow next to Documents)

I created a 'My Pictures' folder

9 more replies
Relevance 77.9%

You can use the sc.exe command to start, stop, configure, and manage various aspects of services in the same way that you can on earlier versions of Windows. On Windows Vista, however, the sc.exe command has been enhanced with new command-line switches.
New switches for specifying required privileges for a service include: -privs Sets the required privileges for a service. -qprivs Queries for the required privileges of a service.
New switches that support per-service SIDs include: -sidtype Changes a service?s SID. -qsidtype Retrieves the setting for service?s SID.
New switches to enable configuration of the FailureActionsOnNonCrashFailures setting include: -failureflag Changes the setting of the FailureActionsOnNonCrashFailures flag. -qfailureflag Retrieves the setting for the FailureActionsOnNonCrashFailures flag. -showsid Displays the service SID string corresponding to an arbitrary name. -stop This is an old setting that has been enhanced in Windows Vista to specify the stop reason. This enables postmortem reliability analysis to find out reasons (by examining the event logged by the SCM with the stop reason) an administrator would stop a service.
For more information about these new command-line switches for sc.exe, type sc /? at a command prompt.

Answer:New Command-Line Switches for Sc.exe

thanks for the useful tips

3 more replies
Relevance 77.9%

Hi

I originally posted in the software forum asking why I couldn't access the command line. I was redirected to this forum and followed the instructions for removing malware. This appears to have solved my problem but I would appreciate if someone could check the attached files to confirm I have no further issues.

Many thanks
 

Answer:Access to Command Line

Welcome to Majorgeeks!

Did you download and install the below password stealing trojan yourself?

Code:

Hacktool:Hacktool/MSNpass.B Not disinfected C:\Documents and Settings\Stu\My Documents\Problem Solvers\MessenPass\mspass.exe
Hacktool:Hacktool/MSNpass.B Not disinfected C:\Documents and Settings\Stu\My Documents\Problem Solvers\mspass_setup.exe[mspass.exe]

Read this: http://www.bleepingcomputer.com/startups/MSpass.exe-13318.html

Look in Add/Remove programs and uninstall StripSaver2 if found.

Now copy the bold text below to notepad. Save it as fixme.reg to your desktop. Be sure the "Save as" type is set to "all files" Once you have saved it double click it and allow it to merge with the registry.




REGEDIT4

[-HKEY_CLASSES_ROOT\CLSID\{07B18EA9-A523-4961-B6BB-170DE4475CCA}]Click to expand...

Now reboot into Safe Mode and use Windows Explorer to delete the below:
C:\Program Files\Common Files\Totem Shared\Update\Bpk.dll.130
C:\Program Files\Common Files\Totem Shared\Update\Distribution.dll.047
C:\Program Files\Common Files\Totem Shared\Update\Windows.dll.073
C:\Program Files\Common Files\Totem Shared\Update\WindowsEx.dll.043
C:\WINDOWS\SYSTEM32\cache32_rtneg3
C:\Program Files\StripSaver2 <--- the whole folder

Now reboot and tell me how things are working.
 

3 more replies
Relevance 77.9%

I get the following message when I boot windows 98. Following file is missing or corrupt: command.com Type the name of the command interpreter. I've gone on to microsoft's website to check the problem. Told me to type sys c: in the command prompt, but I just get a bad command. Anyone have any suggestions about repairing this file?

Answer:win 98 command line missing

Try going to bootdisk.com and picking up a Windows 98 bootdisk. Boot off that, and then when you get to the prompt, try typing in sys c:

7 more replies
Relevance 77.9%

how do I run a command line scan because I can't get avg to scan using the control center. Thanks

Answer:avg command line scan...

What is the version of AVG?

2 more replies
Relevance 77.9%

Hi,

I'm writing a little program in VB6 to link in with our new intranet we are building.

It's got some buttons on it as shortcuts to info pages.
The url is something like:
http://server/cgi_bin/abc.pl?id=1&name=mike

When the button is clicked, it launches IE via the command line, with the right page.

This works fine in Win95, but in Win NT & 2000 the url gets chopped off at the &

The command I'm using is:
start http://server/cgi_bin/abc.pl?id=1&name=mike

As I say, fine in Win98, just NT & 2000, same problem if you type the command at the command prompt.

Cheers
Mike
 

Answer:Ampersands on command line

To get ampersands to work properly on the command line in Win2k/XP, you need to put quotes around either just the ampersand, or everything from the ampersand on.

For example:

start http://server/cgi_bin/abc.pl?id=1"&"name=mike

-or-

start http://server/cgi_bin/abc.pl?id=1"&name=mike"

Hope this helps.

...
 

2 more replies
Relevance 77.9%
Question: Command Line Error

Hi everyone,

I have setup my computer so that I can develop programmes using commands like ./configure and make. However, although make works with the command line (cmd.exe), ./configure will not. I always recieve the following message:

C:\Documents and Settings\<username>./configure
'.' is not recognized as an internal or external command,
operable program or batch file.

Is there some way that I can have the command line recognize such a command?

Thankyou for your help.

Edit: How can I delete this message? First posts cannot be removed...
 

More replies
Relevance 77.9%

While readind a link in a post for athread here I ran across this article. Good for those who like using command line programs and utilities. Also explains use of some and links to good other code. One I found interesting was UnixUtils. It's a windows port of alot of unix type commands. I keep a toolkit folder already with normal 'windows' programs and now will make another. Article shows how to place it in the 'path' so you just need the command name not the fully qualified path to use the commands directly.

http://www.bleepingcomputer.com/tutorials/command-line-toolkit-for-windows/
 

Answer:Command-Line toolkit

Hi Imandy

Yeah the CMD line can be really useful in may circumstances, not used as much these days but I still rely on a few commands a lot for troubleshooting especially network issues and tracert is great for that.

The guide is good but missed a fair bit out, while I think they are concentrating on the general commands the full list and explanations are HERE @ TechNet (TechNet/MSDN is a great resource that should be read at times, while its aimed at technical folk, its still apt for many issues ot advice you may need)
 

9 more replies
Relevance 77.9%

hey guys could anyone tell me what the command line is like in Win7? i'm running XP and was thinking of moving to OSX to have access to a robust command line.

thanks guys
 

Answer:Windows 7 and the command line

10 more replies
Relevance 77.9%

I want to open several URLs from a task scheduler so that they all appear in the same IE9 window as separate tabs. How is this possible?

More replies
Relevance 77.9%

Dear fellow geeks,

I would like to ask your opinion; if there was a tutorial
series, that teaches command line for say, SOHO or small
business owners, or students, or administrators, or IT interns; if it was
provided on dvd, along with manuals, and plenty of illustrations,
examples, and breakdowns completely explaining every switch,
option,
variable, statement, condition, etc along with website support;
and loadable files to use as examples to study on, what would you
think of it along with the pros and cons?

Please dont get me wrong; Its just that ive read several manuals on the
subject, and theyre so technical, and cryptic, its easy to struggle. Lucky for me, ive
become good at understanding this subject.
I simply believe that I can do a better job of explaining command line concepts, and batch
scripting so that the average person can really understand. For example, are you familiar
with the "video professor" series that uses a very user friendly approach to teaching?
The illustrations are presented with pre selected mouse movements on the screen that show
you exactly where to move your mouse, and click, step by step. Though command line is mouse,
and GUI free, I think something similar to showing each command typed, and entered with
results presented, and explained (before the student types in anything, just like the
"video professor" series) would go a long way to helping the student understand. I would
present thi... Read more

Answer:command line tutorial

Personally I don't think you'd find much interest in this. Usually the only people who want to touch command line are the more advanced users. The ones who arn't so good just stick with the GUI.

Of course when it comes to windows the help provided for average commands in 2000/XP is pretty good already. They even include sample usuage. For example if you look up the taskkill command you'll see it includes this

Examples:
TASKKILL /S system /F /IM notepad.exe /T
TASKKILL /PID 1230 /PID 1241 /PID 1253 /T
TASKKILL /F /IM notepad.exe /IM mspaint.exe
TASKKILL /F /FI "PID ge 1000" /FI "WINDOWTITLE ne untitle*"
TASKKILL /F /FI "USERNAME eq NT AUTHORITY\SYSTEM" /IM notepad.exe
TASKKILL /S system /U domain\username /FI "USERNAME ne NT*" /IM *
TASKKILL /S system /U username /P password /FI "IMAGENAME eq note*"

It also explains it all above. It's really as clear as it gets for command line stuff.

Now if you meant linux command line, then maybe that would be nice. I find the manuals for linux command lines to almost always be lacking in detail. Of course after using linux awhile you just get used to it and you're OK. And since linux/unix isn't something normal users really play around with much, I yet again wouldn't see much use for it.

Even if you did a good job with it, very few linux/unix users would ever be bothered to read/use it. They all just u... Read more

1 more replies
Relevance 77.9%

[font=&quot]Ok here is what I am trying to do.
I am trying to figure out the switches that can be used for intellisync via the command line.
I want to setup a schedule so I can have a calendar in one program synchronize with outlook without having to login and out of the program.

I am looking at doing this for a user who is trying to get the two calendars synchronized when her boss is in a meeting or if she cant get in to his office before she leaves at night. As she is in charge of his calendar.

I have been able to figure out one switch /r for run...but other than that I have failed.

I have done many google searches but I can't seem to find what I am looking for.

If anyone can help me with this one I owe you big time.

thanks in advance

Master-s[/font]
 

Answer:intellisync Via the command line

I'd explore through the in-built help files.

You could also try help on the command line.

Try the command with the /? switch, /help /h -h --h...-?
Or some combination of the sort.
 

3 more replies
Relevance 77.9%

I am trying to add a user via the command line through a virtual pc I added with VMWare. I'm running windows 10, and unable to add because this is what I get when I open CMD: I can't go beyond this point, I keep getting error messages. Any help would be deeply appreciated. Thank you, Tina

Answer:Can't add user via command line

Have you tried doing this via an elevated command prompt? Right click on the start button icon and select Command Prompt (Admin)

2 more replies
Relevance 77.9%

Just built up a new computer. Installed Windows XP Home SP3. Installed fine but couldn't get online. Found out I needed to install the drivers from the motherboard install disk. It installs the drivers but then it has to reboot to finish. When it reboots it goes to a command line promt to make a raid disk. Problem is that I don't have a floppy disk drive in the computer. (Come on, I didn't think ppl even used em anymore.) If I try to take the CD out and run windows, It gets to the XP load up screen then restarts. Unless I run it in safe mode. My question is this:

Is there a command i can use in that prompt to save the Raid Disk info to another drive or port. Like a USB port or External Floppy Drive?

The motherboard is:
ASUS P5N-D LGA 775 NVIDIA nForce 750i SLI ATX Intel Motherboard

I've already tried to call Asus themselves but waited for 27 minutes and an operator answered n said they'd have to call back. sure
 

Answer:Solved: dos command line

If you installed XP Home and it is working, you don't need a RAID disk... so these probably are not the drivers you need.

You need the chipset, network and audio drivers here: http://support.asus.com/download/download.aspx?SLanguage=en-us&model=P5N-D
(skip the drivers for SATA RAID and NVIDIA nForce C55/MCP51 for 64-bit)
 

3 more replies
Relevance 77.9%

how can I enable disable a policy using gpedit! Not via the GUI, you go do some clicks and enable.

But I want to execute one shot command which will say disable AutoRun.

I have searched exenstively, no results. I kind need this for my automation stuff.

Thanks,
Akshay

Answer:Gpedit via command line

create a .REG file. Execute the .reg file.

The grouppolicy editor is a registry editor of sorts.

1 more replies
Relevance 77.9%

does anyone have a link to them? I want to be able to install SP2 on several machines but without the firewall and automatic updates turned on.

Thanks.
 

Answer:Command line switches for SP2?

http://www.microsoft.com/technet/prodtechnol/winxppro/deploy/spdeploy.mspx

Hopefully you can find what you need third way down page
 

2 more replies
Relevance 77.9%
Question: mbsa command line

Hi all,
I am currently using mbsacli command with offline wsuscab to scan PC for vulnerability.  Just to ask if mbsacli can be used to scan Windows hot fix and MS Office updates as well? 
Note that my environment has no direct internet access.  
Or there is other Microsoft tool that could scan for hotfix and MS Office?  

More replies
Relevance 77.9%

A few days ago I tried to install something but it wouldn't let me, said something about a corrupt file, so I did a system recovery tonight(yes I can be a little impulsive), and when I tried to install msn, firefox and torrent downloader it wouldn't let me, it said something along the lines of

msn: low memory (for file swap) or problem in cabinet file

firefox: corrupt file and /nrcr command line

torrent downloader: corrupt file.

I did a disk clean and defrag, ran an anti virus and it still doesn't work..any one can help?
 

More replies
Relevance 77.9%

How can I set this via command-line or registry? I need a way to automatically launch "Explorer c:\folder\myfolder" with a view appropriate for long filenames on any Windows Vista/Win7 PC.

Answer:How can I set this via command-line or registry?

Type c:\windows\explorer.exe X:\folder\subfolder /e on Notepad, save as a batch file with .bat extension. Copy file to C:\Users\Your_Username\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup to open X:\Folder\Subfolder in Explorer in Details view every time you log in to your user account, or to C:\ProgramData\Microsoft\Windows\Start Menu\Programs\StartUp if you want this to happen on all user accounts.

Kari

9 more replies
Relevance 77.9%

Im looking for a CLI type program or command to encrypt an ntfs volume.

Anyone know of a command already present that would encrypt a drive/voume?

i figured encryption = security so ill drop the post here.
 

Answer:Command line utilities

What OS are you using, Windows something? If so, just be aware that encrypting the drive is actually something done only if you are really aware of the risks. The biggest risk is the OS dying...in which case you can't unencrypt your data. May as well toss it. This is because the OS controls the encryption key. Once that key is lost, the battle is all over.

Most security experts will first say don't do it. But if you absolutely need it, then go for it.

I know Windows XP has encryption available, but I'm not aware of the CLI command to do it...

Here is a link for some possibly useful info: http://www.webservertalk.com/archive53-2004-3-147864.html
 

5 more replies
Relevance 77.9%

Ok, maybe I'm an idiot or this just doesn't plain work, here is what I am trying to do:

I open a new command line window and it defaults me to the root directory of my C: drive. I am trying to access my desktop at c:\documents and settings\username\desktop and when I try to cd to this directory this is what I get:


Code:
C:\>cd doc*
Invalid directory

C:\>cd Documents and Settings
Too many paramaters - and

C:\>cd Documents*
Invalid directory

WTF? I very rarely use DOS anymore, in fact this is a work laptop and I think it is time to install cygwin, at least Linux command line works Anyone have any ideas?
 

Answer:Win XP command line problems

It'll want the 8 character shortcut for filenames larger than 8 characters. The format is the first 6 characters followed by a ~1. So "Documents and settings" would be "docume~1".

Try "cd docume~1" and see what happens.

Also - cd doc* won't work in dos. The CD command doesn't accept wildcards (the * )
 

8 more replies
Relevance 77.9%

Hi there,

I need to work with xcopy to resolve a crc error with an Outlook Express file. Unfortunately when I type the following:

cd Documents and Settings I receive the following response:

Too many parameters - Documents

I cannot copy the file in question in Windows so I am using the Dos commands.

Any ideas?

Any good freeware crc error fixer apps out there?

Thanks for any help and/or wisdom

Malcolm
 

Answer:Command Line Problem

16 more replies
Relevance 77.9%

Hello all-

I have two Windows XP -- one Home, one Professional -- machines attempting to connect wirelessly to a vanilla Netgear access point. The XP Pro machine connects fine. The XP Home machine sees the Wi-Fi network, connects, accepts the password, and says it's connected -- but Web browsers and other Windows network apps will not connect to the Internet (they just hang for a long time before timing out).

But! If I open a command prompt, I can ping external sites and even use command-line ftp to connect to sites without a problem!

I've gone over the network configuration of both machines and can't see any difference between the two. The Netgear access point doesn't have any kind of MAC address filtering turned on. Is there something I should be looking for that I'm missing?

As an extra added strange data point -- I've tried to connect to the network via a Mac OS X machine and saw the same behavior as on the XP Home machine -- GUI-based programs won't connect, but command-line utilities will. Meanwhile, an Apple iPhone was able to connect and work perfectly.

Thanks in advance for any advice!

Josh
 

Answer:Can connect via the command line, but not any way else

7 more replies
Relevance 77.9%

Ok so how do I write a program or script to automate command line functions. Example being I want a shortcut to open the command line and run "ipconfig /all"

Yeah it's stupid simple but eventually I'd like to expand this to automate further functions.

Knowledge... C++.

Answer:How do I automate command line?

Every command parser on every OS allows for some level of scripting. On Windows you can use a batch file, on Linux, Mac OS X, BSD, and others you can use a Bash script file. In both cases the files are basically lists of commands to carry out as if you were typing them one-at-a-time into the command line.

1 more replies
Relevance 77.9%

I know on alot of msc's on a computer you can type in XXXX.msc /Computer=ComputerName and connect to a remote computer is there any way to get a list of what command line items you can do on this to configure it? I looked into mmc.exe and tried the /? and I tried that on the individual mscs as well with no success Searching the web has yielded me only a list of the mscs and what they do even thought i already know that.

Any thoughts?
 

Answer:MSC's and Command line switches.

16 more replies
Relevance 77.9%

As always, I come to the forums as a last resort. You guys haven't let me down so far...

Anyway, I'm trying to figure out how to run Symantec Ghost Console (part of the Solution Suite) completely from the command line. In terms of functionality, everything is working from the GUI, but I want to replicate everything that I've done there in the command line.

I've tried running "ghost.exe", but it won't run outside of DOS (and I need to stay in Windows). I know that "ngcons.exe" lets me execute tasks, but I need to be able to create tasks, place computers into groups, etc.

I have Ghost Console running on a Win2K3 machine, and a bunch of other computers running Ghost Client (also on Win2K3 machines). Any ideas?
 

Answer:Ghost from the command line

so you want to start a ghost session from inside windows?
 

1 more replies
Relevance 77.9%

Hi
Well when I type in ipconfig in the command box it just open up and then disappear. other commands work when I type them in the box, so I can't use this command any suggestion on how to fix it would be appreciated. So laptop Dell 9300 inspiron
thanks to all MajorGreek people
 

Answer:command line problem

are you typing it in to the run box or an actual command prompt?
 

3 more replies
Relevance 77.9%

Can someone tell me the command line switches I could add to the end of an .exe to control the X and Y coordinates.

I want to control where on the screen my application opens. For example, I want Excel to open in the top right corner of my screen.

Thanks!
Mac
 

Answer:command line question

7 more replies
Relevance 77.9%

Is it possible to download a file with a direct link via the command prompt in windows xp/2000 for use in a batch file? What command do you use?

I tried "copy http://ftp.newaol.com/aim/win95/Install_AIM.exe C:\Temp"...and that didn't work =)
 

Answer:Command Line Options

8 more replies
Relevance 77.9%
Question: Command line games

I am looking for a program that will let you make games that work through a command line interface. (A CLI game)I have searched Google, and have found nothing.

Answer:Command line games

You mean in the olden time when we use to play game in dos mode or window mode.Well java (not javascript) will probaly let you do it but is best to use Visual Basic C++ to build them and the file probably will be .exeThe easy way to make a good graphical game is Flash using Action Script

7 more replies
Relevance 77.9%

The computer is hung up... it does not launch explore.exe therefore it hangs at the desktop image. Can I uninstall from the command line? how difficult is that? Macafee is there in the task manager and i would disable it.....

how do you launch a program from the command line? it appears that everthing that needs a cool interface does not run....

Answer:Can I uninstall from a command line?

Hello saidblade

Do you know what has caused the problem? Were you installing/uninstalling something? If not it could be malware.

CTRL + ALT + DEL to open Task Manager
File/New Task RUN and type in
explorer.exe
OK

That might get explorer running for you.

.

3 more replies
Relevance 77.9%

Are there any command(s) that will output PC information?

Ex:
PC name
MAC address
IP
IP static (yes/no)
Amount of RAM
Processor Mhz
My goal is to create a bat file that will output that sort of information to a txt file. Looking to do this on a large scale.
 

Answer:Command line: PC information

11 more replies
Relevance 77.9%

I have a computer running xp, I tried to do a system restore after my daughter got it infected with viruses.it went haywire and when I try and boot it up it says type the name of the command line interpretor?I dont understand this,does anyone please know what it means and how to fix it,its been out of action for 2 months now, thanks for any advise

Answer:Command line interpretor

Do you have the XP disc or was it an OEM installation? Can you get into safe mode or doesn`t it get that far?

1 more replies
Relevance 77.9%

Hi,

As my NT system admin is on holidays, I was wondering if anybody could help me out.

I need to search for files via the command line, filtering by the file extention and date - either last modified or last accessed. I've got no problems with the file extention part.

I just can't seem to locate the relevant date flags/switches anywhere to perform this search. I need to perform via the command line as I want to include in a batch script, otherwise I'd just use the Windows Search GUI.

Thanks
 

Answer:command line searches

6 more replies
Relevance 77.9%

Is there anyway to make a connection to a VPN using the command line?

Part of my work includes making connections from various computers, but I don't want to use the windows wizards, create a connection, and then delete it when I'm done. i'd much rather write a script or something. Can it be done?

Specifically, this would be done from a windows 2000 machine.
 

Answer:Connect to VPN via the command line?

If you are using the built-in MS VPN subsystem, good luck. Unlike most networking items, even vbscript doesn't give you access. You can write a script to automate the wizard using the vbscript Sendkeys function, but that's about it.

The only site I found good info for programmatically creating conectoids for RAS or VPN required a full blown VB6 app.

Sounds like a good question for the "Hey, Scripting Guy!" daily column at the MS script center.
 

1 more replies
Relevance 77.9%

I'm wondering if anyone here would have a bit of experience parsing commandline variables. My dilemma is this:

I'm building a custom context menu to copy files (or folders) from one location to another. Now it's working pretty well, with the exception that if I highlight a folder and run xcopy on that folder, it simply copies the files within that folder to the destination as opposed to creating the folder there and placing the files inside of it.

My command for this looks like:

cmd /c xcopy /e "%1" \\server\share\

Now the thing I thought about was maybe attempting to do this with a batch file. Run say, copy-site.bat which creates the remote directory then copies the files to it. But this doesn't go over well since %1 is the full pathname (i.e. C:\Documents and Settings\User\test) to the location as opposed to relative (test).

Now I have been able to do an alternative here, by adding a shortcut into the "Send To" location, which makes this a lot easier since it's integrated into Windows and doesn't have this shortfall--but I'd much rather have it directly on the context menu as opposed to in Send To.

Anyone know of any alternative ways to do this without having to have some program loaded 24/7?
 

Answer:Windows Command Line

if you want to create the folder structure with xcopy, use the /T switch and see if that works.

Also, I would map to the unc path first and then do the xcopy. Like this

net use x: \\server\share
cd x:
xcopy /E /T "%1" .\
net use /D x:

You can put that in a .cmd file and still call it with cmd /c filename.cmd I belive...

Hope this helps!!!

Joe
 

2 more replies
Relevance 77.9%

I wrote a .bat script to automate downloading of .wav files from an ftp site. I'm trying to use wildcard characters because the first 19 characters of the file name change on a weekly basis. I keep getting an error when trying to download the files though. I use a similar script on a daily basis to download files from another ftp site but that download is in the ftp site main directory. Below is script in question, removed access credentials and site name:

%windir%\system32\ftp.exe -s:%0
goto done
@echo off
open ftpsitename
username
password
binary
hash

cd /some/directory/here

lcd R:\foldername

get *******************_H1S1.wav
get *******************_H1S2.wav
get *******************_H1S3.wav
get *******************_H2S1.wav
get *******************_H2S2.wav
get *******************_H2S3.wav
get *******************_H3S1.wav
get *******************_H3S2.wav
get *******************_H3S3.wav
get *******************_H4S1.wav
get *******************_H4S2.wav
get *******************_H4S3.wav
get *******************_H4S4.wav

bye
:done
@echo off

Answer:command line FTP download help

Hey there .o/

Hmm I think wildcards do not work with Windows' "plain" ftp client. They do with wget though - or at least according to GNU Wget, and you can get Windows binaries from here.

3 more replies