Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: Preliminary research for creating users in MS-DOS  (Read 3310 times)

0 Members and 1 Guest are viewing this topic.

willMchugh

    Topic Starter


    Starter

    Thanked: 1
    • Experience: Beginner
    • OS: Windows 7
    Preliminary research for creating users in MS-DOS
    « on: July 02, 2015, 08:43:42 AM »
    This is for the preliminary research section in my CA, i need to compare linux and windows. At the moment i am using debian compared to MS-DOS, is there any tips that you can give me on how to go about creating shell scripts in MS-DOS to automate the creation of users and assigning them to groups.

    Thanks
    Will

    Squashman



      Specialist
    • Thanked: 134
    • Experience: Experienced
    • OS: Other
    Re: Preliminary research for creating users in MS-DOS
    « Reply #1 on: July 02, 2015, 09:38:40 AM »
    NET USER
    NET GROUP

    willMchugh

      Topic Starter


      Starter

      Thanked: 1
      • Experience: Beginner
      • OS: Windows 7
      Re: Preliminary research for creating users in MS-DOS
      « Reply #2 on: July 02, 2015, 04:27:37 PM »
      Thanks for that help, is there any way in which I can repeat the process 10 times

      foxidrive



        Specialist
      • Thanked: 268
      • Experience: Experienced
      • OS: Windows 8
      Re: Preliminary research for creating users in MS-DOS
      « Reply #3 on: July 03, 2015, 06:35:05 AM »
      Yes.


      ;)

      Squashman



        Specialist
      • Thanked: 134
      • Experience: Experienced
      • OS: Other
      Re: Preliminary research for creating users in MS-DOS
      « Reply #4 on: July 03, 2015, 03:17:12 PM »
      FOR /?

      willMchugh

        Topic Starter


        Starter

        Thanked: 1
        • Experience: Beginner
        • OS: Windows 7
        Re: Preliminary research for creating users in MS-DOS
        « Reply #5 on: July 13, 2015, 05:56:01 AM »
        what text editors can i use to write the script in because i can not find one ???

        thanks
        will
          :)

        Squashman



          Specialist
        • Thanked: 134
        • Experience: Experienced
        • OS: Other
        Re: Preliminary research for creating users in MS-DOS
        « Reply #6 on: July 13, 2015, 08:19:30 AM »
        Notepad has been included in Windows since the very first version.  Has to be on your computer.

        Regardless of that I prefer to use Notepad++ because it highlights keywords and has other useful features that help with writing many different types of scripting languages.

        DaveLembke



          Sage
        • Thanked: 662
        • Certifications: List
        • Computer: Specs
        • Experience: Expert
        • OS: Windows 10
        Re: Preliminary research for creating users in MS-DOS
        « Reply #7 on: July 13, 2015, 10:44:27 AM »
        Quote
        what text editors can i use to write the script in because i can not find one
        If in strictly DOS you could use EDIT such as EDIT ThisText.txt which will create ThisText.txt and whatever you type into it is saved  in the end if you save it etc. There were some other text editors for DOS many many years ago, but I mainly used EDIT.

        If you are in Debian instead of MSDOS you could use a Linux editor such as VIM https://wiki.debian.org/vim

        However I havent created any content for MSDOS from a Linux environment before and all my editing in linux is for Linux application.

        Looks like it should work according to here: http://www.howtogeek.com/199687/how-to-quickly-create-a-text-file-using-the-command-line-in-linux/