© J.C. Kessels 2009
MyDefrag Forum
May 22, 2013, 04:12:06 am
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
:
Home
Help
Search
Login
Register
MyDefrag Forum
>
JkDefrag v3 Forum
>
Bugs and problems
>
3.24 Log file disable depends on order of arguments
Pages: [
1
]
« previous
next »
Print
Author
Topic: 3.24 Log file disable depends on order of arguments (Read 2173 times)
Capsaicin
JkDefrag Supporter
Posts: 11
3.24 Log file disable depends on order of arguments
«
on:
September 07, 2007, 03:53:57 am »
With 3.24 (and 3.23, too, I think), I noticed that if I specify the -a option before the -l option, it still logs the "optimizemode" to the log file, and then disables the logfile after that.
Great program. Can't wait for v4.
Logged
jeroen
Administrator
JkDefrag Hero
Posts: 7155
Re: 3.24 Log file disable depends on order of arguments
«
Reply #1 on:
September 07, 2007, 05:52:27 am »
Yes, the program analyses the commandline arguments one by one from left to right. It has always done it like that, it's not not new to this version. I suppose I can first scan all the arguments for a "-l" argument, and then scan again for the other arguments. Ok, I'll put it on the list. In the meantime you can get around this idiosyncracy by always putting the "-l" as the very first argument.
Logged
ewieldra
JkDefrag Hero
Posts: 246
3.24 Log file disable depends on order of arguments
«
Reply #2 on:
September 07, 2007, 10:14:58 am »
if i read this correct :
Logfile commandline specification must always be done before all other arguments ?
so it must be
JkDefrag.exe -l c:\log.txt -a 7 -d 2 -q c: d:
and not
JkDefrag.exe -a 7 -d 2 -q c: d: -l c:\log.txt
Emiel
Logged
Best Regards,
Emiel Wieldraaijer
Download JkDefragGUI from
http://www.wieldraaijer.nl
jeroen
Administrator
JkDefrag Hero
Posts: 7155
3.24 Log file disable depends on order of arguments
«
Reply #3 on:
September 07, 2007, 11:50:14 am »
Quote from: "ewieldra"
Logfile commandline specification must always be done before all other arguments ?
It's not an absolute requirement, but it's better, yes. Since v3.17 the program will write lines to the logfile about interpreting the commandline. The "-l" argument will change the name of the logfile, but by then some lines may already have been written to the default logfile. To avoid that it should be the first argument.
Logged
ewieldra
JkDefrag Hero
Posts: 246
3.24 Log file disable depends on order of arguments
«
Reply #4 on:
September 07, 2007, 12:34:32 pm »
Thnx
Emiel
Logged
Best Regards,
Emiel Wieldraaijer
Download JkDefragGUI from
http://www.wieldraaijer.nl
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
MyDefrag v4 Forum
-----------------------------
=> Announcements
=> Questions and help
=> Bugs and problems
=> Requests for new features
=> Scripts, and other contributions
-----------------------------
JkDefrag v3 Forum
-----------------------------
=> Announcements
=> Questions and help
=> Bugs and problems
=> Requests for new features
=> Programming with the library
Loading...