Search found 3 matches

by simong42
Wed 13 Mar 2019, 19:26
Forum: Database and Files
Topic: Getting file information
Replies: 3
Views: 1978

Getting file information

I'm trying to access information about a specific file - in particular, the creation date/time. I can do this by generating a directory listing (thanks to this forum for their help in resolving my "dir /s" query), but for some reason, I get different date/times when looking at the file on different ...
by simong42
Fri 08 Mar 2019, 06:22
Forum: Database and Files
Topic: Trying to get "dir /s ..." to work from BASIC
Replies: 6
Views: 3000

Re: Trying to get "dir /s ..." to work from BASIC

Ah, it's the "leading *" that does it. Many thanks.

The /s switch, by the way, makes a directory list include all subdirectories.
by simong42
Tue 05 Mar 2019, 20:48
Forum: Database and Files
Topic: Trying to get "dir /s ..." to work from BASIC
Replies: 6
Views: 3000

Trying to get "dir /s ..." to work from BASIC

I'm trying to execute a 'dir' command from within BASIC but failing. The command (without the single quotes) is 'dir /s "D:\all files\photos\*.*" > ./dlist.txt', i.e. a recursive directory command, with output directed to a text file. This works when pasted into a DOS window. However, when I try and...