• Writing a PIF file

    Home » Forums » AskWoody support » Windows » Windows – other » Writing a PIF file

    Author
    Topic
    #394366

    I have downloaded a screen saver and put an icon in the Quick Launch toolbar to activate it. However, it activates as soon as I click on the icon. I would like to be able to click on the icon and have the system pause for say 5 seconds before it launches the screen saver. Can I do this with a PIF file and if so how do I create one. Thanx in advance for the asssitance.

    Dennis
    gramps

    Viewing 1 reply thread
    Author
    Replies
    • #722214

      A PIF file is normally a shortcut to a DOS batch file. So, you would need to know the “pause” DOS command to do that — I think!

      I could make a script that would pause for a few seconds — and even give you a dialog box to answer Yes or No — if you wanted it.

      • #722426

        The simplest “wait for 5 seconds” command available in the Windows Command Prompt window without having to get hold of another utility (like SLEEP.EXE) is

        PING -n 6 127.0.0.1 > nul

        The number 6 gives a wait of five seconds (11 would give a wait of ten seconds, and so on).

      • #722427

        The simplest “wait for 5 seconds” command available in the Windows Command Prompt window without having to get hold of another utility (like SLEEP.EXE) is

        PING -n 6 127.0.0.1 > nul

        The number 6 gives a wait of five seconds (11 would give a wait of ten seconds, and so on).

    • #722215

      A PIF file is normally a shortcut to a DOS batch file. So, you would need to know the “pause” DOS command to do that — I think!

      I could make a script that would pause for a few seconds — and even give you a dialog box to answer Yes or No — if you wanted it.

    Viewing 1 reply thread
    Reply To: Writing a PIF file

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: