Intro Download and install Frequently Asked Questions Tips and tricks

Homepage







© J.C. Kessels 2009
MyDefrag Forum
May 19, 2013, 11:53:17 pm *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
  Home Help Search Login Register  
  Show Posts
Pages: [1]
1  MyDefrag v4 Forum / Scripts, and other contributions / MyDefrag Gui Wrapper an new GUI on: May 02, 2009, 12:07:11 pm
http://www.paehl.com/open_source/?MyDefrag_GUI_wrapper

NON .net required

Version 0.01
2  JkDefrag v3 Forum / Requests for new features / For Vista User on: June 26, 2007, 11:18:37 am
Under Vista Home Basic the program run with admin right. And can defrag all files.

Change the batch not possible, the problem is the runas and jkdefrag with parameter not work.

Here is a batch work with all windows version. Ignore the german

Code:
@echo off
Echo Letze komplette Defragmentierung.
if exist last_defrag.log type last_defrag.log
if not exist last_defrag.log Echo Keine.
Echo.
Echo Aktuelles Datum: %date%
Echo Analysiere
JkDefrag.exe  -a 1
notepad JkDefrag.log
:fragen
set /P X= (T)aeglich oder (V)olle defragmentierung oder (B)eenden?
if /I "%X%"=="T" goto :daily
if /I "%X%"=="V" goto :nein
if /I "%X%"=="B" goto :ende
goto fragen
:daily
Echo Taeglich
JkDefrag.exe
goto ende
:nein
Echo Volle defragmentierung.
Echo Das dauert etwas.
echo %date% >last_defrag.log
JkDefrag.exe -a 4
:ende
del JkDefrag.log



Under Vista work only when jkdefrag have admin right.
As task, possible, but i hate the task scheduler.

The batch is runing manuelly.
3  JkDefrag v3 Forum / Requests for new features / For Vista User on: June 24, 2007, 02:38:06 pm
JkDefrag required run as admin under Vista.
But if you run jkdefrag from a batch jkdefrag not work.

Change the following in the next version please

Code:

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
  <assemblyIdentity
    version="1.0.0.0"
    processorArchitecture="*"
    name="JKDefrag"
    type="win32"/>
  <trustInfo xmlns="urn:schemas-microsoft-com:asm.v3">
    <security>
      <requestedPrivileges>
        <requestedExecutionLevel level="requireAdministrator"/>
      </requestedPrivileges>
    </security>
  </trustInfo>
</assembly>


As external JKDefrag.exe.manifest or better internal see this version
http://d5.daupload.com/d.php?filepath=10946
Version 3.16

Dirk Paehl
http://www.paehl.de (.com)
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.5 | SMF © 2006-2008, Simple Machines LLC Valid XHTML 1.0! Valid CSS!