Jump to content

Welcome to MSFN Forum
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account


Photo

Batch file for "Hidden" Applications

- - - - -

  • Please log in to reply
21 replies to this topic

#1
didadocom

didadocom

    Newbie

  • Member
  • 42 posts
Hello

I want to install a shortcut in Start Menu in Windows XP of all the "Hidden" applications that are not installed by default and that are disseminated in various locations inside Windows, for example: Direct X Diagnosis (C:\WINDOWS\system32\dxdiag.exe)

There is software created by particulars that do that:
- XP Hidden Application Launcher (23 applications) by Rizla (portable)
- XP Hidden Application Interface v1.0 (24 applications) by Craig Longford (installer)
- XP Hidden Application Enabler v2.0 (44 applications) by Serials2000 Rocks Team (portable)
- Matt’s System Helper Outer v0.52 (8 applications) (portable)

And by companies:
- Camtech Hidden Utilities XP-Vista v1.0 (53 applications + 43 command line utilities) (total 96) (portable) Free
- Camtech Hidden Utilities XP-Vista v2.0 (81 applications + 130 command line utilities) (total 211) (installer) U$S 19.95

My problem is that it is in English :( (I need it in Spanish) and non of them is complete with all that has inside Windows XP. The same can be applied to Windows Vista and 7.

I know that I can made it manually with shortcuts and links to some Folder in Start Menu > Programs > (example: HiddenApps), but is there a batch file that I can make?

Many thanks


How to remove advertisement from MSFN

#2
Yzöwl

Yzöwl

    Wise Owl

  • Super Moderator
  • 4,527 posts
  • OS:Windows 7 x64
  • Country: Country Flag

Donator

If you provide the Topic with a full list of the applications you wish to have shortcuts for, their location, the names you wish to have allocated to them and the intended destination of those shortcuts, then I think you'll have a better chance of someone helping you out.

Another idea is to ask one or more of the authors of the many applications you've found to create a 'Spanish' version.

#3
didadocom

didadocom

    Newbie

  • Member
  • 42 posts

If you provide the Topic with a full list of the applications you wish to have shortcuts for, their location, the names you wish to have allocated to them and the intended destination of those shortcuts, then I think you'll have a better chance of someone helping you out.

Another idea is to ask one or more of the authors of the many applications you've found to create a 'Spanish' version.


Some of them are very old (2002, etc.) doesn't have a web page and where made I think as a project. I found them only by a long search in Internet. I can make it in english and spanish. I only need a basic indication on how. Of course I will publish as a download here.

For example:
Name: Direct X Diagnosis
Location: C:\WINDOWS\system32\dxdiag.exe
Destination: Start > Programs > Hidden Applications > Direct X Diagnosis
Icon: the same it has

#4
Yzöwl

Yzöwl

    Wise Owl

  • Super Moderator
  • 4,527 posts
  • OS:Windows 7 x64
  • Country: Country Flag

Donator

You suggested that you wanted all of them not just one, I can give you a single shortcut or you can use shortcut.exe or some other third party utility to create your own , but I'm guessing that's not what you want, is it?

Either provide a full list or we cannot be expected to help you.

#5
didadocom

didadocom

    Newbie

  • Member
  • 42 posts

You suggested that you wanted all of them not just one, I can give you a single shortcut or you can use shortcut.exe or some other third party utility to create your own , but I'm guessing that's not what you want, is it?

Either provide a full list or we cannot be expected to help you.


Yes. I have not yet prepared the list, but I think one example is enough. Can it be?

#6
Yzöwl

Yzöwl

    Wise Owl

  • Super Moderator
  • 4,527 posts
  • OS:Windows 7 x64
  • Country: Country Flag

Donator

You asked for it, so here it is, an .inf file:
[Version]

Signature	= "$Windows NT$"



[DefaultInstall]

ProfileItems	= HidAppGrp, DxDiagShtCut



[HidAppGrp]

Name		= Hidden Applications, 4



[DxDiagShtCut]

CmdLine		= 11, , dxdiag.exe

Infotip		= "Microsoft DirectX Diagnostic Tool"

Name		= DirectX Diagnosis

SubDir		= Hidden Applications

WorkingDir	= 53


#7
didadocom

didadocom

    Newbie

  • Member
  • 42 posts

You asked for it, so here it is, an .inf file:

[Version]
Signature	= "$Windows NT$"

[DefaultInstall]
ProfileItems	= HidAppGrp, DxDiagShtCut

[HidAppGrp]
Name		= Hidden Applications, 4

[DxDiagShtCut]
CmdLine		= 11, , dxdiag.exe
Infotip		= "Microsoft DirectX Diagnostic Tool"
Name		= DirectX Diagnosis
SubDir		= Hidden Applications
WorkingDir	= 53


But can I use it as a .cmd file?

#8
Yzöwl

Yzöwl

    Wise Owl

  • Super Moderator
  • 4,527 posts
  • OS:Windows 7 x64
  • Country: Country Flag

Donator

No you cannot use it as a .cmd file, (because it isn't one). If you have a need to install it via a command line as opposed to invoking it directly, (perhaps with a double click), then that option is available. It could therefore be run from a batch file by invoking that command line within that script.

The information for doing this is readily available in multiple instances throughout this Forum and further afield.

Once you've prepared, completed and posted your full list, I may be in a better position however to provide you with this additional information.

#9
didadocom

didadocom

    Newbie

  • Member
  • 42 posts
I will do the homework.

Meantime I tried with "shortcut.exe" and it works only if it creates first a folder (md).

@echo off
echo Creating Shortcut
echo.
:: Create Folder
md "%USERPROFILE%\Desktop\XP Hidden Applications"
:: Create Shortcut
shortcut /f:"%USERPROFILE%\Desktop\XP Hidden Applications\Direct X Diagnosis.lnk" /a:c /t:"C:\WINDOWS\system32\dxdiag.exe"
:: Done!


But if I want to place in: "%USERPROFILE%\Desktop\Start Menu\XP Hidden Applications\Direct X Diagnosis.lnk" without building first a folder nothing happens...

What I am doing wrong?

Attached Files


Edited by didadocom, 13 July 2010 - 09:52 PM.


#10
Yzöwl

Yzöwl

    Wise Owl

  • Super Moderator
  • 4,527 posts
  • OS:Windows 7 x64
  • Country: Country Flag

Donator

You should create the directory first, there's nothing wrong with doing that.
@Echo off

If Not Exist "%USERPROFILE%\Desktop\XP Hidden Applications" (

    Md "%USERPROFILE%\Desktop\XP Hidden Applications")

Echo=Creating Shortcut&Echo=

Shortcut...


#11
didadocom

didadocom

    Newbie

  • Member
  • 42 posts

You should create the directory first, there's nothing wrong with doing that.

@Echo off
If Not Exist "%USERPROFILE%\Desktop\XP Hidden Applications" (
    Md "%USERPROFILE%\Desktop\XP Hidden Applications")
Echo=Creating Shortcut&Echo=
Shortcut...


I have done it. It does not appear in the Desktop, but if I search in Documents and Settings\Desktop\XP Hidden Applications\ it is!

What is happening?

Besides this I want to place the shortcut in: Start Menu\XP Hidden Applications\Direct X Diagnosis

#12
Yzöwl

Yzöwl

    Wise Owl

  • Super Moderator
  • 4,527 posts
  • OS:Windows 7 x64
  • Country: Country Flag

Donator

I have done it. It does not appear in the Desktop, but if I search in Documents and Settings\Desktop\XP Hidden Applications\ it is!

What is happening?

Besides this I want to place the shortcut in: Start Menu\XP Hidden Applications\Direct X Diagnosis

I have no idea what is happening because I cannot see your exact batch file!

Incidentally, the .inf file I've already provided you with creates your required shortcut, DirectX Diagnosis.lnk, inside %AllUsersProfile%\StartMenu\Programs\Hidden Applications.

#13
Mim0

Mim0

    Friend of MSFN

  • Member
  • PipPipPipPipPip
  • 768 posts

... It does not appear in the Desktop, but if I search in Documents and Settings\Desktop\XP Hidden Applications\ it is!...

The subfolder for the user is missing:

Documents and Settings\<User>\Desktop\XP Hidden Applications\

Edited by Mim0, 15 July 2010 - 10:49 PM.


#14
didadocom

didadocom

    Newbie

  • Member
  • 42 posts

The subfolder for the user is missing:

Documents and Settings\<User>\Desktop\XP Hidden Applications\


The above doesn't work. I have found that this: %HOMEDRIVE%%HOMEPATH% works!

Now I want to add a commentary-explanation to each shortcut as Windows has them and is shown in a baloon in light yellow.

For example: Notepad: Create and modify text files using basic text formatting

Where goes this information?

#15
Yzöwl

Yzöwl

    Wise Owl

  • Super Moderator
  • 4,527 posts
  • OS:Windows 7 x64
  • Country: Country Flag

Donator

Now I want to add a commentary-explanation to each shortcut as Windows has them and is shown in a baloon in light yellow.

For example: Notepad: Create and modify text files using basic text formatting

Where goes this information?

In my provided .inf file it is shown as a quoted string under infotip.

If you're still talking about using OptimumX's shortcut.exe did you look at the syntax/parameter list provided in the ReadMe.txt and try:

/D:description : Defines the description (or comment) for the shortcut.



#16
didadocom

didadocom

    Newbie

  • Member
  • 42 posts
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?

#17
Yzöwl

Yzöwl

    Wise Owl

  • Super Moderator
  • 4,527 posts
  • OS:Windows 7 x64
  • Country: Country Flag

Donator

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.

#18
didadocom

didadocom

    Newbie

  • Member
  • 42 posts

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"


#19
Yzöwl

Yzöwl

    Wise Owl

  • Super Moderator
  • 4,527 posts
  • OS:Windows 7 x64
  • Country: Country Flag

Donator

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!

#20
didadocom

didadocom

    Newbie

  • Member
  • 42 posts
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.

Attached Files


Edited by didadocom, 22 July 2010 - 08:27 AM.


#21
Yzöwl

Yzöwl

    Wise Owl

  • Super Moderator
  • 4,527 posts
  • OS:Windows 7 x64
  • Country: Country Flag

Donator

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 /?"


#22
didadocom

didadocom

    Newbie

  • Member
  • 42 posts
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
Attached File  Windows XP Hidden Applications.zip   25.42KB   15 downloads

Windows XP Command Line
Attached File  Windows XP Command Line.zip   30.11KB   14 downloads

In Spanish:

Aplicaciones Ocultas de Windows XP
Attached File  Aplicaciones Ocultas de Windows XP.zip   27.46KB   2 downloads

Línea de Comandos de Windows XP
Attached File  Linea de Comandos de Windows XP.zip   31.29KB   2 downloads




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users



How to remove advertisement from MSFN