Jump to content











Photo
- - - - -

Add Standard DOS Utilities


  • Please log in to reply
34 replies to this topic

#1 FiZiX

FiZiX

    Newbie

  • Members
  • 24 posts

Posted 15 September 2008 - 05:03 PM

This script will add the standard DOS utilities to your build. It's primarily aimed at LiveXP but should work with any build that doesn't already have the utilities.

Here are the files it adds:
AT.EXEATTRIB.EXECACLS.EXECHKDSK.EXECHKNTFS.EXECOMP.EXECOMPACT.EXECONVERT.EXEDISKCOMP.COMDISKCOPY.COMDOSKEY.EXEEDIT.COMFC.EXEFIND.EXEFINDSTR.EXEFORMAT.COMGRAFTABL.COMHELP.EXELABEL.EXEMODE.COMMORE.COMFIND.EXERECOVER.EXEREPLACE.EXESORT.EXESUBST.EXETREE.COMXCOPY.EXE

Please reply to this thread with any bugs or missing files you notice!

Attached Files



#2 Lancelot

Lancelot

    Frequent Member

  • .script developer
  • 5013 posts
  • Location:Turkiye/Izmir
  • Interests:*Mechanical stuff and Physics,
    *LiveXP, BartPE, SherpyaXPE,
    *Basketball and Looong Walking,
    *Buying outwear for my girlf (Reason: Girls are stupid about buying bad stuff to make themselves uglier :))
    *Girls (Lyric: Girl,...., You will be a womann, Soon)
    *Answering questions for "Meaning of life",
    *Helping people,

    Kung with LiveXP, Fu with Peter :)
  •  
    Turkey

Posted 15 September 2008 - 06:59 PM

Thanks for sharing :huh:

#3 Brito

Brito

    Platinum Member

  • .script developer
  • 10616 posts
  • Location:boot.wim
  • Interests:I'm just a quiet simple person with a very quiet simple life living one day at a time..
  •  
    European Union

Posted 15 September 2008 - 09:55 PM

FiZiX, have you tested if all DOS programs are working good?

Very simple and neat looking script, I subscribe to Lancelot words - thank you.

:huh:

#4 amalux

amalux

    Platinum Member

  • Tutorial Writer
  • 2813 posts
  •  
    United States

Posted 16 September 2008 - 10:56 PM

Nice to have these tools on board, thanks FiZiX :huh:

#5 Galapo

Galapo

    Platinum Member

  • .script developer
  • 3841 posts
  •  
    Australia

Posted 16 September 2008 - 11:02 PM

Good one, I'll add to the LiveXP server.

A suggestion: add some checkboxes etc to the interface so that one may include some (but not all) of the programs if that is desired.

Regards,
Galapo.

#6 Lancelot

Lancelot

    Frequent Member

  • .script developer
  • 5013 posts
  • Location:Turkiye/Izmir
  • Interests:*Mechanical stuff and Physics,
    *LiveXP, BartPE, SherpyaXPE,
    *Basketball and Looong Walking,
    *Buying outwear for my girlf (Reason: Girls are stupid about buying bad stuff to make themselves uglier :))
    *Girls (Lyric: Girl,...., You will be a womann, Soon)
    *Answering questions for "Meaning of life",
    *Helping people,

    Kung with LiveXP, Fu with Peter :)
  •  
    Turkey

Posted 16 September 2008 - 11:37 PM

Galapo

As you decide to upload, I make some modifications with script now to make it ready as you like and fast for livexp :huh:
I hope you and FiZiX and others like it
http://lancelot.winb...utils_FiZiX.rar

edit: your last touch to script will highly probably still needed, just reminding with knowing you wont miss that

#7 Galapo

Galapo

    Platinum Member

  • .script developer
  • 3841 posts
  •  
    Australia

Posted 16 September 2008 - 11:42 PM

Excellent! I reupload in a few minutes.

Regards,
Galapo.

#8 FiZiX

FiZiX

    Newbie

  • Members
  • 24 posts

Posted 17 September 2008 - 12:23 PM

Galapo

As you decide to upload, I make some modifications with script now to make it ready as you like and fast for livexp :huh:
I hope you and FiZiX and others like it
http://lancelot.winb...utils_FiZiX.rar

edit: your last touch to script will highly probably still needed, just reminding with knowing you wont miss that


Looks great, thanks for your help! I see no need to change anything you've done.

#9 Brito

Brito

    Platinum Member

  • .script developer
  • 10616 posts
  • Location:boot.wim
  • Interests:I'm just a quiet simple person with a very quiet simple life living one day at a time..
  •  
    European Union

Posted 17 September 2008 - 12:44 PM

Good script, tested it today and I like it a lot.

Feels nice to have the command line tools just in case they're needed.

:huh:

#10 FiZiX

FiZiX

    Newbie

  • Members
  • 24 posts

Posted 17 September 2008 - 12:59 PM

Good script, tested it today and I like it a lot.

Feels nice to have the command line tools just in case they're needed.

:)


Thanks Nuno; your praise always means the most to me!

My initial reason for writing this script was when I tried to use the Spybot and Adaware scripts in the downloads section. They weren't working and when I ran the CMD files for those scripts within the build, I noticed that they were looking for FIND.EXE and XCOPY.EXE. Then I figured, why not make a script that adds them all so I don't run in to any more issues like this. :huh:

As they say, necessity is the mother of invention. :huh:

#11 Brito

Brito

    Platinum Member

  • .script developer
  • 10616 posts
  • Location:boot.wim
  • Interests:I'm just a quiet simple person with a very quiet simple life living one day at a time..
  •  
    European Union

Posted 17 September 2008 - 01:59 PM

As they say, necessity is the mother of invention

Very true indeed! :huh:

In Portuguese language we'd say something like "A necessidade aguça o engenho", roughly translated to "Necessity sharpens the talent".

:huh:

#12 olegpov

olegpov

    Frequent Member

  • .script developer
  • 309 posts
  • Location:Orel
  • Interests:BSD systems

Posted 28 February 2010 - 09:12 PM

The bug is found in a script:
Section:
[Dependencies_CACLS_EXE]

require_file,CACLS.EXE

IF,%OS%%SourceArch%,Equal,W2003x86,Begin

//ws03res do not exists on none english source !! and cacls.exe does not work there ?

If,ExistFile,%source_win%\ws03res.dl_,Set,%ws03res_exists%,Yes

If,ExistFile,%source_win%\ws03res.dll,Set,%ws03res_exists%,Yes

If,%ws03res_exists%,Equal,Yes,require_file,ws03res.dll

End

IF,%SourceArch%,Equal,x64,require_file,ws03res.dll
Should be:
[Dependencies_CACLS_EXE]

require_file,CACLS.EXE

//ws03res do not exists on none english source !! and cacls.exe does not work there ?

If,ExistFile,%source_win%\ws03res.dl_,Set,%ws03res_exists%,Yes

If,ExistFile,%source_win%\ws03res.dll,Set,%ws03res_exists%,Yes

If,%ws03res_exists%,Equal,Yes,require_file,ws03res.dll


#13 Lancelot

Lancelot

    Frequent Member

  • .script developer
  • 5013 posts
  • Location:Turkiye/Izmir
  • Interests:*Mechanical stuff and Physics,
    *LiveXP, BartPE, SherpyaXPE,
    *Basketball and Looong Walking,
    *Buying outwear for my girlf (Reason: Girls are stupid about buying bad stuff to make themselves uglier :))
    *Girls (Lyric: Girl,...., You will be a womann, Soon)
    *Answering questions for "Meaning of life",
    *Helping people,

    Kung with LiveXP, Fu with Peter :)
  •  
    Turkey

Posted 28 February 2010 - 09:28 PM

thanks a lot olegpov, new version on server :exclamation:

#14 bee4u

bee4u

    Frequent Member

  • Advanced user
  • 172 posts
  •  
    United Kingdom

Posted 26 August 2011 - 04:05 PM

hi i want to know how to add custom dos file..like sys.com or any other dos file..THX

#15 sbaeder

sbaeder

    Gold Member

  • .script developer
  • 1338 posts
  • Location:usa - massachusettes
  •  
    United States

Posted 26 August 2011 - 05:31 PM

Maybe this is a dumb answer, but I guess you would go into the script, and modify it to add that executable to the process...Or write your own script to do the same thing???

Or even (depending on the project) use the ways to add file to a build...http://reboot.pro/15151 or http://reboot.pro/15068 or any of the topics that can be found by just searching for "add files"

#16 Michael*

Michael*

    Frequent Member

  • Advanced user
  • 210 posts
  •  
    United States

Posted 26 August 2011 - 07:04 PM

Any chance my vmware thinstalled apps will now work without bluescreen of darth?


This script will add the standard DOS utilities to your build. It's primarily aimed at LiveXP but should work with any build that doesn't already have the utilities.



#17 sbaeder

sbaeder

    Gold Member

  • .script developer
  • 1338 posts
  • Location:usa - massachusettes
  •  
    United States

Posted 26 August 2011 - 07:24 PM

:confused1: Totally confused here...What do DOS utilities have to so with the way VMWare "thininstalled" apps work to trap and redirect registry settings and file access? BUT, My guess would also be (and it is a GUESS) that a PE is missing some of the things a virtualized APP needs...

#18 bee4u

bee4u

    Frequent Member

  • Advanced user
  • 172 posts
  •  
    United Kingdom

Posted 27 August 2011 - 01:07 AM

ok i will search it and see anyone can come to the solution...THX.

#19 Rui Paz

Rui Paz

    Frequent Member

  • Advanced user
  • 201 posts
  •  
    Portugal

Posted 27 August 2011 - 02:20 PM

ok i will search it and see anyone can come to the solution...THX.


Hi,

What project are you using? Live XP or other?

___
Rui Paz

#20 bee4u

bee4u

    Frequent Member

  • Advanced user
  • 172 posts
  •  
    United Kingdom

Posted 27 August 2011 - 04:54 PM

Live XP

#21 Pippi

Pippi
  • Members
  • 6 posts
  • Location:Taka-Tuka-Land

Posted 27 August 2011 - 05:13 PM

IMHO here has something to be clarified.

The so called 'DOS utilities' mentioned in post #1 are not really (16 bit) DOS utilities, but command line utilities of a XP source CD. They only usually have the same names and mostly the same syntax like the corresponding DOS functions.

Real (16 bit) DOS utilities can be copied from a DOS floppy and should run in a 32 bit PE, but not in a 64 bit PE.
So, when adding a real DOS utility to a build, the developer should check for a x86 source CD.

BTW: For what purpose do you need a sys.com in a PE1? Do you want to build a DOS floppy fom inside a PE? :dubbio:

Peter

Edited by Pippi, 27 August 2011 - 05:32 PM.


#22 Rui Paz

Rui Paz

    Frequent Member

  • Advanced user
  • 201 posts
  •  
    Portugal

Posted 27 August 2011 - 05:56 PM

I
Real (16 bit) DOS utilities can be copied from a DOS floppy and should run in a 32 bit PE, but not in a 64 bit PE.


16 bits Dos programs can't run in Win7PE_SE because there is no script to include NTVDM support, that's why i ask the project used.

___
Rui Paz

#23 Pippi

Pippi
  • Members
  • 6 posts
  • Location:Taka-Tuka-Land

Posted 27 August 2011 - 06:31 PM

You are right!
Another nice M$ enhanvement introduced with Vista, and brought to perfection with win7!

Peter

#24 Wonko the Sane

Wonko the Sane

    The Finder

  • Advanced user
  • 16066 posts
  • Location:The Outside of the Asylum (gate is closed)
  •  
    Italy

Posted 27 August 2011 - 06:54 PM

I am not getting it. :unsure:

Vista :ph34r: and 7 do have the NTVDM AFAIK.
http://en.wikipedia....ual_DOS_machine

it's on 64 bit only that it disappeared.
Nonetheless SYS.COM is a NO-NO.

And if noone of the good guys at reboot.pro managed to put together an NTVDM .script, it is not (at least this time, let's call it a rare exception ;)) the good MS guys' fault.

:cheers:
Wonko

#25 Pippi

Pippi
  • Members
  • 6 posts
  • Location:Taka-Tuka-Land

Posted 27 August 2011 - 07:52 PM

Maybe you are right, maybe you are wrong.

Check by yourself:

http://answers.micro...06-a9b65ba710e8

Peter




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users