Results 1 to 6 of 6

Thread: Cleanspl.exe command line

  1. #1
    Ulf Guest

    Cleanspl.exe command line

    Hello all,

    Just a quick question that I have not been able to find a good answer
    concerning. Is there a way (is it possible) to run the cleanspl.exe as a
    pure command line utility and to anticipate all of the spooler cleanup
    options?

    thanks,
    Ulf

  2. #2
    Pegasus \(MVP\) Guest

    Re: Cleanspl.exe command line


    "Ulf" <Ulf@discussions.microsoft.com> wrote in message
    news:DACEE216-F739-41BB-B57E-0AB3465019AB@microsoft.com...
    > Hello all,
    >
    > Just a quick question that I have not been able to find a good answer
    > concerning. Is there a way (is it possible) to run the cleanspl.exe as a
    > pure command line utility and to anticipate all of the spooler cleanup
    > options?
    >
    > thanks,
    > Ulf


    If you type "what is cleanspl.exe" into a Google search
    window then you get more than 2,600 hits about this
    particular tool. You might find that cleanspl is an
    interactive rather than a command line utility.

    A simple and easy to understand method for purging all
    print queues of a machine consists of running this batch
    file:
    @echo off
    echo.
    echo Purging the print queue . . .
    net stop Spooler
    echo Deleting all print jobs . . .
    ping localhost -n 4 > nul
    del /q %SystemRoot%\system32\spool\printers\*.*
    net start Spooler
    echo Done!
    ping localhost -n 4 > nul



  3. #3
    Ulf Guest

    Re: Cleanspl.exe command line

    Pegasus,

    Thank you for the reply. Yes, I was aware of the plethora of Google
    articles regarding the cleanspl.exe tool. What I had not been able to
    determine was whethor or not it was possible to use the tool as a pure
    command line. The GUI is very effective and I have utilized it to correct a
    problem with one of my servers. The reason for my original question/post was
    that I have quite a number of additional servers that need to have the same
    thing done to them and I was hoping to automate the task.

    My own on-line research seems to support your assertion that the tool is
    only in 'interactive' one and does not support command line.

    thank you again,
    Ulf

  4. #4
    Pegasus \(MVP\) Guest

    Re: Cleanspl.exe command line


    "Ulf" <Ulf@discussions.microsoft.com> wrote in message
    news:AB14474B-123F-4DF5-AA36-CB6A12B592D9@microsoft.com...
    > Pegasus,
    >
    > Thank you for the reply. Yes, I was aware of the plethora of Google
    > articles regarding the cleanspl.exe tool. What I had not been able to
    > determine was whethor or not it was possible to use the tool as a pure
    > command line. The GUI is very effective and I have utilized it to correct
    > a
    > problem with one of my servers. The reason for my original question/post
    > was
    > that I have quite a number of additional servers that need to have the
    > same
    > thing done to them and I was hoping to automate the task.
    >
    > My own on-line research seems to support your assertion that the tool
    > is
    > only in 'interactive' one and does not support command line.
    >
    > thank you again,
    > Ulf


    I actually suspected rather than asserted that cleanspl.exe works
    in a GUI environment only. However, since it uses a very simple
    panel, it would be a trivial task to embed it in a VB Script and
    get that script to supply the required key strokes.



  5. #5
    Ulf Guest

    Re: Cleanspl.exe command line

    Pegasus,

    I stand corrected. Thank you again for the assistance. I will see if I
    can cobble together a VBScript to accomplish my task.

    regards,
    Ulf

  6. #6
    Pegasus \(MVP\) Guest

    Re: Cleanspl.exe command line


    "Ulf" <Ulf@discussions.microsoft.com> wrote in message
    news:58805E54-D29F-4743-ABC6-C77055C33A1A@microsoft.com...
    > Pegasus,
    >
    > I stand corrected. Thank you again for the assistance. I will see if
    > I
    > can cobble together a VBScript to accomplish my task.
    >
    > regards,
    > Ulf


    I was not trying to correct you - just to suggest an alternative
    solution. :-)



Similar Threads

  1. xcopy command line together with wmplayer command line
    By Aislinn in forum Operating Systems
    Replies: 5
    Last Post: 31-03-2010, 12:13 PM
  2. Replies: 3
    Last Post: 03-09-2009, 05:41 PM
  3. Command Line Ren (Rename) command broken?
    By SixSigmaGuy in forum Vista Help
    Replies: 2
    Last Post: 18-05-2008, 03:30 PM
  4. Run MSI from Command Line
    By Thomas M. in forum Windows Security
    Replies: 2
    Last Post: 03-11-2007, 03:49 AM
  5. Replies: 1
    Last Post: 18-05-2007, 01:24 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,711,674,775.24907 seconds with 17 queries