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

Author Topic: dos task number  (Read 3152 times)

0 Members and 1 Guest are viewing this topic.

xbabyboy4021x

  • Guest
dos task number
« on: August 12, 2009, 11:39:39 PM »
im taking a class right now that has alot to do with using dos command prompt and in my homework it says to do a few commands then to "type in the task number and the commands i used to create directories"...what is the task number and how do i know what it is? ive looked around google and cant seem to find anything on it...can somebody please help me?

billrich

  • Guest
Re: dos task number
« Reply #1 on: August 13, 2009, 04:24:51 AM »

PID is the Process IDentification number
C:\>tasklist

Image Name                   PID Session Name     Session#    Mem Usage
========================= ====== ================ ======== ============
System Idle Process            0 Console                 0         28 K
System                         4 Console                 0        240 K
smss.exe                     776 Console                 0        424 K
csrss.exe                   1120 Console                 0      4,300 K
winlogon.exe                1288 Console                 0      2,960 K

billrich

  • Guest
Re: dos task number
« Reply #2 on: August 13, 2009, 04:28:33 AM »

C:\>mkdir /?
Creates a directory.

MKDIR [drive:]path
MD [drive:]path

If Command Extensions are enabled MKDIR changes as follows:

MKDIR creates any intermediate directories in the path, if needed.
For example, assume \a does not exist then:

    mkdir \a\b\c\d

is the same as:

    mkdir \a
    chdir \a
    mkdir b
    chdir b
    mkdir c
    chdir c
    mkdir d

which is what you would have to type if extensions were disabled.


Quantos



    Guru
  • Veni, Vidi, Vici
  • Thanked: 170
    • Yes
    • Yes
  • Computer: Specs
  • Experience: Guru
  • OS: Linux variant
Re: dos task number
« Reply #3 on: August 15, 2009, 07:43:03 PM »
im taking a class right now that has alot to do with using dos command prompt and in my homework it says to do a few commands then to "type in the task number and the commands i used to create directories"...what is the task number and how do i know what it is? ive looked around google and cant seem to find anything on it...can somebody please help me?

Do your own homework.  We don't provide homework assistance here.
Evil is an exact science.

BC_Programmer


    Mastermind
  • Typing is no substitute for thinking.
  • Thanked: 1140
    • Yes
    • Yes
    • BC-Programming.com
  • Certifications: List
  • Computer: Specs
  • Experience: Beginner
  • OS: Windows 11
Re: dos task number
« Reply #4 on: August 15, 2009, 08:46:55 PM »
Do your own homework.  We don't provide homework assistance here.

errr. yes we do...


In either case- I think the "task number" might be akin to a "question number" or something, since I don't see a PID or process handle being applicable to something as simple as creating folders.
I was trying to dereference Null Pointers before it was cool.

Quantos



    Guru
  • Veni, Vidi, Vici
  • Thanked: 170
    • Yes
    • Yes
  • Computer: Specs
  • Experience: Guru
  • OS: Linux variant
Re: dos task number
« Reply #5 on: August 15, 2009, 09:25:51 PM »
Not according to Nathan.
Evil is an exact science.

BC_Programmer


    Mastermind
  • Typing is no substitute for thinking.
  • Thanked: 1140
    • Yes
    • Yes
    • BC-Programming.com
  • Certifications: List
  • Computer: Specs
  • Experience: Beginner
  • OS: Windows 11
Re: dos task number
« Reply #6 on: August 15, 2009, 09:49:26 PM »
Just for any other people out there who need homework help, one or two questions is ok usually, but please, for the love of God, Google it first, read your textbooks, do your part! All I gotta say  ;)

Flame

they googled. Besides, they aren't asking for help DOING the homework, they're asking what a "task number" is.
I was trying to dereference Null Pointers before it was cool.

Quantos



    Guru
  • Veni, Vidi, Vici
  • Thanked: 170
    • Yes
    • Yes
  • Computer: Specs
  • Experience: Guru
  • OS: Linux variant
Re: dos task number
« Reply #7 on: August 15, 2009, 09:51:05 PM »
Okay, just checking, remember I'm new here too and still getting accustomed...
Evil is an exact science.