|
-
Nov 15th, 2004, 04:23 AM
#1
Thread Starter
Lively Member
help in using windows tools
Hi all,
I am developing an application that runs the window tools like Defragmentation. how can i run the defragmentation. i tried the following code, but i was not able to make it work, i am getting an error "File not found".
Code:
private sub cmdDfrg_Click()
dim val
val=Shell ("defrg.msc",1)
end sub.
-
Nov 15th, 2004, 05:08 AM
#2
Shouldn't that be defrag.exe? MSC is just a console that opens up.
-
Nov 15th, 2004, 05:17 AM
#3
Thread Starter
Lively Member
Yes, i just need to open the console.
-
Nov 15th, 2004, 05:31 AM
#4
-
Nov 15th, 2004, 06:09 AM
#5
Thread Starter
Lively Member
-
Nov 15th, 2004, 10:31 AM
#6
Thread Starter
Lively Member
help in using windows tools --Solved
i solved the problem i used batch file. it works
-
Nov 16th, 2004, 01:19 AM
#7
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|