Return to AskMe Archive Main Page
Return to Main PowerUsers.info Main Page
**********************************************************************
PowerUsers.info - Paul Doherty Askme Archive of Questions and Answers
Category : Microsoft Windows
QAId : 4385140
Asker : AndyK2000
Subject : "%1" %*
Private : No
Question : I see that the following action is performed when I double click an
file that has a .vbs extension
C:\WINDOWS\WScript.exe "%1" %*
Question - What does purpse does the following part serve?
"%1" %*
Thank you in advance,
Andy
Answer : Those are there to catch the command-line arguments a user may have
appened to the run of the command. That way the script (or the host wscript.exe)
can accept parameters when run.
--
Paul Doherty
http://members.home.net/iqu
Rating : 4.9
Rating : 4.9
----------------------------------------------------------------------
QAId : 5345693
Asker : Neoncow
Subject : File requires windows
Private : No
Question : My Cousin downloaded an instalation file for a game we play together.
He tried to instal the executable file but it opened in DOS and then said it
needed windows to run. I've tried the same file on my computer and it opens in
windows(and launches the instalshield software).
I believe he runs Windows95. I have both 95 and ME on my two computers and the
file worked just fine..
How can I force the file to run in windows mode instead of in DOS?
Thanks
Need More Information : What OS is he running? Did he run it by double-clicking
it? The file is a self-running archive that launches (as you said) the
installer. Has he tried right-dragging the file within Windows and then
selecting "Extract" from the menu that pops up? I'd try that. If he is
dbl-clicking that file and getting what you said (and he's under Windows 95 or
later) something may be hosed with his associations for EXE files.
Paul Doherty
FUQuestion : He's running windows 95 but I'm not sure what version.
Yes, he ran it by double-clicking it.
I don't think he's tried pressing extract I'll check with him on that.
Answer : Also have him try opening a DOS prompt and typing:
cd \where\the\fileisat
start filename.exe
Paul Doherty
FUQuestion : Right clicking doesn't display an extract choice.
Running from dos gives the same message as before.
is there anyway that I can edit how it opens?
I've looked through the properties of the file, but that only shows shows how to
open in MS-dos. When I de-select it, a ms-dos icon pops up.
Sorry about the slow response.
Please advise me.
Answer : Where did he get the file? Are you sure it's identical to yours? Try
copying it again or downloading it again - his copy may be incomplete or
corrupted.
End :
Rating : 5
----------------------------------------------------------------------
QAId : 5374494
Asker : rfdrosie
Subject : MS-DOS
Private : Yes
Question : Which of the following is NOT a TRUE statement.
A--You can issue the command COMMAND.COM from the CLI
B--You can issue the command COMMAND.COM from AUTOEXEC.BAT
C--YOU can issue the command COMMAND.COM from any batch file
D--COMMAND.COM can only be started during boot up
Answer : D
Rating : 5
----------------------------------------------------------------------
QAId : 5374531
Asker : rfdrosie
Subject : MS-DOS
Private : Yes
Question : Which of the following is the reason for the error message: ROM BASIC
NOT FOUND
A--You formatted your hard drive
B--You FDISKed your hard drive
C--You did not format your hard drive
D--Both B and C
Answer : D
Rating : 5
----------------------------------------------------------------------
QAId : 5374644
Asker : rfdrosie
Subject : MS-DOS
Private : Yes
Question : What will happen if you use the command TREE/A
A--You will see a tree structure of ALL sub-directories
B--You will receive an error message
C--You will see a tree structure, including files
D--You will see a tree structure of the A drive
Answer : None of the above - the "/A" switch just modifies the output so it is
printable (uses less radical ASCII).
Rating : 5
----------------------------------------------------------------------
QAId : 5374678
Asker : rfdrosie
Subject : MS-DOS
Private : Yes
Question : WHICH OF THE FOLLOWING IS NOT a TRUE statement
A--The asterisk can be used to replace up to eight characters when used in a DOS
command
B--The question mark always replaces one character when used in a DOS command
C--When the period is used by itself, it means where you are
D--When two periods are used together, it means back up one directory.
Answer : A - An asterisk replaces 0 or more characters. No limit to 8.
Rating : 5
----------------------------------------------------------------------
QAId : 5704604
Asker : sammy_lb_2000
Subject : Using shotcuts in windows...
Private : No
Question : Hi paul,
can you please tell me how to use windows 98se
to select shortcuts without using the mouse?
i have some shortcut icons in a folder on the
desktop, and i would like to select and open
these programs just by using the arrow keys.
thanks a lot for your help...!
sammy. ;-)
***
Answer : One way to get at them would be by making a shortcut to the folder in
your Start menu, with a keyboard shortcut in that shortcut, say CTRL-ALT-S (for
"shortcuts"). Then you invoke that keyboard shortcut to pop open the folder of
shortcuts anytime you want, which will bring the focus to that window. Then you
can manuever to the icon you want with the arrow keys and press ENTER for the
one you want.
--
Paul Doherty
http://members.home.net/iqueue
DOS and Windows Utilities
Rating : 5PowerUsers.info - Paul Doherty Askme Archive of Questions and Answers