Search found 5 matches

by Norma
02 Aug 2020 13:23
Forum: DOS Batch Forum
Topic: command for right-click on .lnk file ?
Replies: 1
Views: 2462

command for right-click on .lnk file ?

This one is a long shot but I saw no harm in asking. I dislike the standard Windows methods of creating shortcuts. I like fell swoops. When I set up a folder structure for a new client using a batch file with a parameter, the last of several steps is to create a dummy desktop shortcut by copying a d...
by Norma
15 Jun 2020 19:12
Forum: DOS Batch Forum
Topic: getting a forfiles result that shows file locations
Replies: 2
Views: 3096

getting a forfiles result that shows file locations

I frequently generate file lists using a command like this: dir *smith*.pdf /s /od > smithy.txt Then, in a word processor (WP 5.1+), I trim the list to delete files before a particular date. Notwithstanding macro skills, it is tedious. What is the syntax for getting a file list from forfiles that sh...
by Norma
22 May 2020 18:34
Forum: DOS Batch Forum
Topic: using sortable date as parameter without typing the date
Replies: 2
Views: 2987

using sortable date as parameter without typing the date

I have a number of batch files that use the current date, in yyyymmdd format, as a parameter. Is there an alternative to having to key in the date a digit at a time when I run the batch file?