It is currently Thu Jun 07, 2018 8:19 pm

All times are UTC - 8 hours [ DST ]




Post new topic Reply to topic  [ 1 post ] 
Author Message
PostPosted: Wed Jan 18, 2017 6:00 am 
Offline

Joined: Wed Jan 18, 2017 5:56 am
Posts: 1
Hay ho
I'm not sure if im correct here, but im trying.

At the moment i am trying to make a command line code run from vba editor in excel.

Therefore I need the following Code in one line, but I'm unable to change it in that way.

Code is following:

cd c:\users\flori\Documents\Bestellwesen\zbackup
for /f "skip=2 delims=" %F in ('dir *.* /B /O-D /A-D') do del "%F"

Is there a possibility to get thos two lines compressed in only one?


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC - 8 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group, Almsamim WYSIWYG Classic Shell © 2010-2016, Ivo Beltchev.
All right reserved.