Lunatic Posted January 30, 2009 Share Posted January 30, 2009 Specifically I'm trying to run the Disk Defragmenter in Windows XP Pro. According to the start menu shortcut, the program location is %SystemRoot%\system32\dfrg.msc I've got no issues starting up .exe files using the Run command, but .msc is proving a bit difficult. Any ideas on the issue would be much appreciated. [center][/center] Link to comment Share on other sites More sharing options...
SpookMeister Posted January 30, 2009 Share Posted January 30, 2009 (edited) http://support.microsoft.com/kb/283080http://www.petri.co.il/schedule_disk_defra...ows_xp_2003.htm Edited January 30, 2009 by SpookMeister [u]Helpful tips:[/u]If you want better answers to your questions, take the time to reproduce your issue in a small "stand alone" example script whenever possible. Also, make sure you tell us 1) what you tried, 2) what you expected to happen, and 3) what happened instead.[u]Useful links:[/u]BrettF's update to LxP's "How to AutoIt" pdfValuater's Autoit 1-2-3 Download page for the latest versions of Autoit and SciTE[quote]<glyph> For example - if you came in here asking "how do I use a jackhammer" we might ask "why do you need to use a jackhammer"<glyph> If the answer to the latter question is "to knock my grandmother's head off to let out the evil spirits that gave her cancer", then maybe the problem is actually unrelated to jackhammers[/quote] Link to comment Share on other sites More sharing options...
KaFu Posted January 30, 2009 Share Posted January 30, 2009 (edited) ShellExecute(@SystemDir & '\dfrg.msc') ... and for switches refer to previous post. Edited January 30, 2009 by KaFu OS: Win10-22H2 - 64bit - German, AutoIt Version: 3.3.16.1, AutoIt Editor: SciTE, Website: https://funk.eu AMT - Auto-Movie-Thumbnailer (2022-Nov-26) BIC - Batch-Image-Cropper (2023-Apr-01) COP - Color Picker (2009-May-21) DCS - Dynamic Cursor Selector (2024-Feb-16) HMW - Hide my Windows (2018-Sep-16) HRC - HotKey Resolution Changer (2012-May-16) ICU - Icon Configuration Utility (2018-Sep-16) SMF - Search my Files (2023-Jun-03) - THE file info and duplicates search tool SSD - Set Sound Device (2017-Sep-16) Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now