I need help. I've try to solve problem myself but without any good result.
I want to add button to TC and use a dism command in it:
dism.exe /capture-image /capturedir:c:\ /imagefile:d:\obraz.wim /compress:maximum /name:"C copy"
Simply:
(in command) dism.exe
(in parameters) /capture-image /capturedir:%P:\ /imagefile:%T:\obraz.wim /compress:maximum /name:"C copy" or "%P" and "%t" don't work at all.
Is it even possible to get
BR
TC button and DISM
Moderators: white, Hacker, petermad, Stefan2
- ghisler(Author)
- Site Admin
- Posts: 48118
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Maybe there are spaces in the parameters? Try putting a ? in front of the paramters - then TC will show a dialog box with the resolved parameters before executing the command.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Try this in stead:/capture-image /capturedir:%P:\ /imagefile:%T:\obraz.wim /compress:maximum /name:"C copy"
/capture-image /capturedir:%P: /imagefile:%Tobraz.wim /compress:maximum /name:"C copy"
%P and %T inserts the backslash itself - so don't write one as well in the parameter.
Last edited by petermad on 2018-03-03, 09:59 UTC, edited 1 time in total.
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
-
- Junior Member
- Posts: 2
- Joined: 2018-02-28, 08:07 UTC