didadocom

Batch file for "Hidden" Applications

22 posts in this topic

Ok. It is working!

I am creating a batch file with all the hidden application that are not installed by default in Windows XP. I am using OptimumX's shortcut.exe When I finish I will add it here.

Now I want to do the same thing with all Command Lines, but it doesn't work.

It gives me two types of errors:

With this line:

shortcut /f:"%HOMEDRIVE%%HOMEPATH%\Start\Programs\Command Lines\Append.lnk" /a:c

System error 3 has ocurred.

With this:

shortcut /f:"%HOMEDRIVE%%HOMEPATH%\Start\Programs\Command Lines\Append.lnk" /a:c /t:"C:\WINDOWS\system32\append.exe"

System error -2147467259 has ocurred.

What is happening? Or I must use another system?

0

Share this post


Link to post
Share on other sites

Ok. It is working!

I am creating a batch file with all the hidden application that are not installed by default in Windows XP. I am using OptimumX's shortcut.exe When I finish I will add it here.

Now I want to do the same thing with all Command Lines, but it doesn't work.

It gives me two types of errors:

With this line:

shortcut /f:"%HOMEDRIVE%%HOMEPATH%\Start\Programs\Command Lines\Append.lnk" /a:c

System error 3 has ocurred.

With this:

shortcut /f:"%HOMEDRIVE%%HOMEPATH%\Start\Programs\Command Lines\Append.lnk" /a:c /t:"C:\WINDOWS\system32\append.exe"

System error -2147467259 has ocurred.

What is happening? Or I must use another system?

The first error example is because you are using the wrong parameters.

You are asking the application to create,
(/a:c)
, a shortcut but have not provided it with a target for that shortcut,
(/t:)
.

The second example returns to one of your previous posts.

You are asking for a shortcut to be created inside a location which does not exist,
(\Command Lines)
.

You need to firstly 'make the directory' for the location of that shortcut.

0

Share this post


Link to post
Share on other sites

The first error example is because you are using the wrong parameters.

You are asking the application to create,
(/a:c)
, a shortcut but have not provided it with a target for that shortcut,
(/t:)
.

The second example returns to one of your previous posts.

You are asking for a shortcut to be created inside a location which does not exist,
(\Command Lines)
.

You need to firstly 'make the directory' for the location of that shortcut.

I know. The directory was created and it appears in the location where I want to add the shortcuts, but when I want to add the target and link (THE ABOVE TWO EXAMPLES) it gives this errors.

I used the same indications that worked perfect in the first batch.

Here is the code:

If Not Exist "%HOMEDRIVE%%HOMEPATH%\Start\Programs\Accesories\Command Line" (

Md "%HOMEDRIVE%%HOMEPATH%\Start\Programs\Accesories\Command Line")

::PING

shortcut /f:"%HOMEDRIVE%%HOMEPATH%\Start\Programs\Accesories\Command Line\Ping.lnk" /a:c /t:"C:\WINDOWS\system32\cmd.exe /k ping"

0

Share this post


Link to post
Share on other sites
shortcut /f:"%HOMEDRIVE%%HOMEPATH%\Start\Programs\Command Lines\Append.lnk" /a:c /t:"C:\WINDOWS\system32\append.exe"

System error -2147467259 has ocurred.

If Not Exist "%HOMEDRIVE%%HOMEPATH%\Start\Programs\Accesories\Command Line" (

Md "%HOMEDRIVE%%HOMEPATH%\Start\Programs\Accesories\Command Line")

::PING

shortcut /f:"%HOMEDRIVE%%HOMEPATH%\Start\Programs\Accesories\Command Line\Ping.lnk" /a:c /t:"C:\WINDOWS\system32\cmd.exe /k ping"

The error message you were receiving was because the intended shortcut location does not exist!

\Command Lines vs \Command Line

The example you've given is also wrong!

On my current Vista PC, the following would do as you require

shortcut /f:"%userprofile%\Start\Programs\Command Lines\Ping.lnk" /a:c /t:"%systemroot%\system32\cmd.exe" /p:"/k ping"

However using the Syntax suggested in the ReadMe.txt file you'd need this:

shortcut /f:"%userprofile%\Start\Programs\Command Lines\Ping.lnk" /a:c /t:"^%systemroot^%\system32\cmd.exe" /p:"/k ping"

Depending upon how you invoke the command and you particular system you may need to choose either one of the two!

0

Share this post


Link to post
Share on other sites

OK, it works with PING.

But not with APPEND or ATTRIB (I have tried only this two):

/t:"%SYSTEMROOT%\system32\cmd.exe" /p:"/k append"

In this example I want that the Command Line open a DOS windows with the Command Prompt APPEND with the explanation of what it is and help lines (/?) to this command.

Attached is the example.

post-71000-127980760315_thumb.jpg

Edited by didadocom
0

Share this post


Link to post
Share on other sites
In this example I want that the Command Line open a DOS windows with the Command Prompt APPEND with the explanation of what it is and help lines (/?) to this command.

This works perfectly for me!

shortcut /f:"%userprofile%\Start\Programs\Command Lines\Append.lnk" /a:c /t:"%systemroot%\system32\cmd.exe" /p:"/k append /?"

0

Share this post


Link to post
Share on other sites

I finished making the batch files for adding shortcuts to the programs that Windows XP (Home or Professional) doesn’t install by default.

All programs listed in my first comment only shortcut some applications, no one of them is complete, or simply call the application from their own program. In different ways, generally very mixed, and many repeat some applications that are already installed by default, for example: Notepad or Character Map.

The batch file that I made “Windows XP Hidden Applications“ install all the shortcuts to the applications that Windows XP doesn’t call and that are "hidden" inside directories and folders. There are 62 applications that doesn’t appear in any way unless one knows the name and extension or the keyboard shortcut to call it.

Excluded are those that are installed but not seen as System Administrative Tools that resides in Control Panel, and if you want to see it in Accessories, you must go to Control Panel > Taskbar and Start Menu > Start Menu > Customize > Advanced > System Administrative Tools and tick Display on the All Programs menu.

In order that all applications are seen one must install Windows XP with Service Pack 3 complete. After completing the standard installation go to Control Panel > Add or Remove Programs > Add/Remove Windows Components and tick all the options. If you do not label some of them, the associated shortcuts will not work. But this is a option that you decide and depends of your actual requirements.

I also made another batch installer “Windows XP Command Line”, with 210 command lines. I included only those that respond to the command line. There are others, but the command line must be applied directly in order to function.

This is a job that can be improved and if anything is missing or there are errors I will appreciate your suggestion and will correct it. There is a ReadMe.txt file with the instructions.

In English:

Windows XP Hidden Applications

Windows XP Hidden Applications.zip

Windows XP Command Line

Windows XP Command Line.zip

In Spanish:

Aplicaciones Ocultas de Windows XP

Aplicaciones Ocultas de Windows XP.zip

Línea de Comandos de Windows XP

Linea de Comandos de Windows XP.zip

0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.