Go Back   TechArena Community > Software > Operating Systems
Become a Member!
Forgot your username/password?
Tags Active Topics RSS Search Mark Forums Read

Sponsored Links



MS-DOS help and commands

Operating Systems


Reply
 
Thread Tools Search this Thread
  #1  
Old 27-03-2010
Member
 
Join Date: Mar 2010
Posts: 54
MS-DOS help and commands
  

Hello guys,

I am using windows and as a home based computer user,one of the friend of mine installed the windows XP on my system and I always perform the file management and much thing using the mouse hints.

I need to know about the commands in windows as i see a guy using the linux operating system,how could i find the appropriate help for commands in windows.

Reply With Quote
  #2  
Old 27-03-2010
Member
 
Join Date: Jan 2008
Posts: 3,384
MS-DOS help and commands

Why not,you can also use the commands in windows operating system to manage the files as you did it with the help of mouse like copy and paste files.

The same thing would be happened commands not using mouse hints.The linux is purely command based operating system and a lot of things are performed using commands but that is not so much user friendly.The windows provide you the better support of using mouse to work in GUI environment.
Reply With Quote
  #3  
Old 27-03-2010
Member
 
Join Date: May 2008
Posts: 515
MS-DOS help and commands

Yeah, I can get it but how would I perform the operation upon the files and how to know about the commands for specific task and in which manner it would be performed.

Can you provide me some best solutions for this and one thing more,Is it possible to change the settings of the windows operating system if yes then how ???
Reply With Quote
  #4  
Old 27-03-2010
Member
 
Join Date: May 2008
Posts: 4,080
MS-DOS help and commands

You can open the command terminal in windows from the START => RUN and type command in the box to open the terminal and enter the commands to perform the task.

The commands would be associated with the name of the file or other related options and what the command requires to enter.If you don't know anything about the commands then you one of the command is used to get information about commands is known as HELP.
Reply With Quote
  #5  
Old 27-03-2010
Member
 
Join Date: Apr 2008
Posts: 3,260
MS-DOS help and commands

Yes, This is the best solution to know about the commands and their actions.The command is being used for performing different types of tasks related to hardware changes or file input output changes .

Just open the command prompt and type HELP and press enter key.The HELP command will present a long list of commands and if you want to know about particular command then you need to type out as follows -

HELP <command name>

Choose the name of the command from the list of command which has been displayed on the screen using Help command.
Reply With Quote
  #6  
Old 22-05-2011
Member
 
Join Date: May 2011
Posts: 4
Re: MS-DOS help and commands!!! Please help me!

I am trying to create two login accounts and then if a user selects user1, a folder called marketing is made in his account and its shared. A similar thing is done for user2 (finance). This is just a rough idea of my code. I am beginner at this, so please understand my situation (I know there must be mistakes in my code, because it doesn't work).

This is my code for the batch file.
Code:
@echo off
set /p userid=Please select your id (user1 or user2 only)...
if %userid% == "user1" goto mkt
if %userid% == "user2" goto fin
:mkt
net user user1 /add
md Marketing
net share Marketing_folder = C:\Users\user1 /remark:"Marketing for User1"
net use /user:user1
:fin
net user user2 /add
md Finance
net share Finance_folder = C:\Users\user2 /remark:"Finance for User2"
net use /user:user2
pause
@echo on
exit
waiting for some help, and I am also trying from my end.

Cheers!
Reply With Quote
  #7  
Old 23-05-2011
Member
 
Join Date: Jan 2006
Posts: 605
Re: MS-DOS help and commands

Hi trev777,

Have you tried using the vbscript to change the "user must change password at next logon" option.

Dont know whether this is applicable to all OSs.

ref: http://technet.microsoft.com/hi-in/l...97(en-us).aspx


Set usr = GetObject("LDAP://CN=adegutis, OU=Mis, OU=Accounts, DC=domainname, DC=Com")
usr.Put "pwdLastSet", CLng(-1)
usr.SetInfo
Reply With Quote
  #8  
Old 23-05-2011
Member
 
Join Date: May 2011
Posts: 4
Re: MS-DOS help and commands

Thanks Janos!

BUt at the moment I am doing stuff just with Batch files and Ms-DOS. I have'nt learnt VBScript Yet. I will learn that only next semester in my course. At the moment, I am doing my stuff just with DOS commands.

I have modified my code. But now the only problem I am facing is that I cant get the finance folder created in user2's account for some reason.

My modified code is:
Code:
@echo off
cls
net user user1 /add
net user user2 /add
set /p UserName = Enter your username...
shift
if %UserName% == "user1" goto mkt
if %UserName% == "user2" goto fin
:mkt
md C:\Users\user1\Marketing 
pause
net share Marketing_folder = C:\Users\user1\Marketing /remark:"Marketing for User1"
pause
net use /user:user1
pause
@echo on
exit
:fin
md C:\Users\user2\Finance
pause
net share Finance_folder = C:\Users\user2\Finance /remark:"Finance for User2"
pause
net use /user:user2
pause
@echo on
exit
Apparently, according to my lecturer i seem to be trying concepts ahead of my level. so thats why i changed it to the above code.

I am trying to debug this. If u notice anything to correct this code, please let me know SOMEBODY!

Cheers!
Reply With Quote
  #9  
Old 24-05-2011
Member
 
Join Date: Dec 2007
Posts: 2,273
Re: MS-DOS help and commands

Hi trev777,

Take a example of the batch file created below

addnew.bat

net user %1 password /add /homedir:\\<server>\users\%1 /scriptpath:login.bat /domain
net localgroup "<local group>" %1 /add
repeat for local groups
net group "<groups>" %1 /add /domain
repeat for global groups
xcopy \\<server>\users\template \\<server>\users\%1 /e
nltest /sync /server:BDCname
repeat for all BDCs you might be authenticating to
sleep 20
cacls \\<server>\users\%1 /e /r Everyone
remove the everyone permission to the directory
cacls \\<server>\users\%1 /g %1:F /e
cacls \\<server>\users\%1 /g Administrators:F /e
Reply With Quote
Reply

  TechArena Community > Software > Operating Systems
Tags: , , , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "MS-DOS help and commands"
Thread Thread Starter Forum Replies Last Post
I need help with DOS commands trev777 Operating Systems 4 17-05-2011 09:07 PM
MS-DOS top 10 commands Roasted Operating Systems 4 27-03-2010 06:19 PM
Run Commands for Win XP Rohit Kasle (RK) Tips & Tweaks 1 06-02-2010 10:15 AM
Need Basic Dos commands for Commands prompt JangoRap Operating Systems 5 29-06-2009 12:07 PM
Useful DNS Commands K.gupta Guides & Tutorials 3 10-08-2005 09:16 PM


All times are GMT +5.5. The time now is 12:46 AM.