off-subject but not irrelevant

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

off-subject but not irrelevant

Howard Schuman
Sometimes it would be very useful to be able to print directly (or to
copy & paste for later printing), the sub-folders and files within a
particular folder listed in Windows Explorer. For some reason not
evident to me, Windows does not provide any way to do this.

If anyone knows of a convenient utility (whether free or of modest cost)
that will provide this useful function, please let me know.
     thanks, hs

=====================
To manage your subscription to SPSSX-L, send a message to
[hidden email] (not to SPSSX-L), with no body text except the
command. To leave the list, send the command
SIGNOFF SPSSX-L
For a list of commands to manage subscriptions, send the command
INFO REFCARD
Reply | Threaded
Open this post in threaded view
|

Re: off-subject but not irrelevant

Peck, Jon
Use the SPSS HOST command.

HOST command=["dir somedirectory"]

The output is returned as a text block in the Viewer.

HTH,
Jon

(Alternatively, pipe the directory output to a file and print that: dir somedirectory >dirlisting)

-----Original Message-----
From: SPSSX(r) Discussion [mailto:[hidden email]] On Behalf Of howard schuman
Sent: Wednesday, August 06, 2008 10:49 AM
To: [hidden email]
Subject: [SPSSX-L] off-subject but not irrelevant

Sometimes it would be very useful to be able to print directly (or to
copy & paste for later printing), the sub-folders and files within a
particular folder listed in Windows Explorer. For some reason not
evident to me, Windows does not provide any way to do this.

If anyone knows of a convenient utility (whether free or of modest cost)
that will provide this useful function, please let me know.
     thanks, hs

=====================
To manage your subscription to SPSSX-L, send a message to
[hidden email] (not to SPSSX-L), with no body text except the
command. To leave the list, send the command
SIGNOFF SPSSX-L
For a list of commands to manage subscriptions, send the command
INFO REFCARD

=====================
To manage your subscription to SPSSX-L, send a message to
[hidden email] (not to SPSSX-L), with no body text except the
command. To leave the list, send the command
SIGNOFF SPSSX-L
For a list of commands to manage subscriptions, send the command
INFO REFCARD
Reply | Threaded
Open this post in threaded view
|

Re: off-subject but not irrelevant

Oliver, Richard
And Windows does, in fact provide a way to do this:

dir c:\somedirectory >c:\somedirectory\somefile.txt

Since I use SPSS for various data management tasks, I often run that via the HOST command and then read the resulting text file back into SPSS as a data file, as in:

host ["dir /b c:\somedirectory >c:\temp\temp.txt"].
data list list file='c:\temp\temp.txt' /filespec a(200).



-----Original Message-----
From: SPSSX(r) Discussion [mailto:[hidden email]] On Behalf Of Peck, Jon
Sent: Wednesday, August 06, 2008 12:02 PM
To: [hidden email]
Subject: Re: off-subject but not irrelevant

Use the SPSS HOST command.

HOST command=["dir somedirectory"]

The output is returned as a text block in the Viewer.

HTH,
Jon

(Alternatively, pipe the directory output to a file and print that: dir somedirectory >dirlisting)

-----Original Message-----
From: SPSSX(r) Discussion [mailto:[hidden email]] On Behalf Of howard schuman
Sent: Wednesday, August 06, 2008 10:49 AM
To: [hidden email]
Subject: [SPSSX-L] off-subject but not irrelevant

Sometimes it would be very useful to be able to print directly (or to
copy & paste for later printing), the sub-folders and files within a
particular folder listed in Windows Explorer. For some reason not
evident to me, Windows does not provide any way to do this.

If anyone knows of a convenient utility (whether free or of modest cost)
that will provide this useful function, please let me know.
     thanks, hs

=====================
To manage your subscription to SPSSX-L, send a message to
[hidden email] (not to SPSSX-L), with no body text except the
command. To leave the list, send the command
SIGNOFF SPSSX-L
For a list of commands to manage subscriptions, send the command
INFO REFCARD

=====================
To manage your subscription to SPSSX-L, send a message to
[hidden email] (not to SPSSX-L), with no body text except the
command. To leave the list, send the command
SIGNOFF SPSSX-L
For a list of commands to manage subscriptions, send the command
INFO REFCARD

=====================
To manage your subscription to SPSSX-L, send a message to
[hidden email] (not to SPSSX-L), with no body text except the
command. To leave the list, send the command
SIGNOFF SPSSX-L
For a list of commands to manage subscriptions, send the command
INFO REFCARD
Reply | Threaded
Open this post in threaded view
|

Re: off-subject but not irrelevant

Marta Garcia-Granero
In reply to this post by Howard Schuman
Hi Howard
> Sometimes it would be very useful to be able to print directly (or to
> copy & paste for later printing), the sub-folders and files within a
> particular folder listed in Windows Explorer. For some reason not
> evident to me, Windows does not provide any way to do this.
>
> If anyone knows of a convenient utility (whether free or of modest cost)
> that will provide this useful function, please let me know.
I'm not really sure whether I understand your question completely or
not, but I have an Excel macro that makes a xls file with a list of
every file present in a given folder (including subfolders inside that
folder).The file name is presented with its full path
(drive/folder/subfolder.../filename.ext). I use it a lot to generate a
list of the files to be processed by a macro in SPSS. If you are
interested in it, I can send it to you.

Regards,
Marta GarcĂ­a-Granero


--
For miscellaneous statistical stuff, visit:
http://gjyp.nl/marta/

=====================
To manage your subscription to SPSSX-L, send a message to
[hidden email] (not to SPSSX-L), with no body text except the
command. To leave the list, send the command
SIGNOFF SPSSX-L
For a list of commands to manage subscriptions, send the command
INFO REFCARD
Reply | Threaded
Open this post in threaded view
|

Re: off-subject but not irrelevant

Victor Kogler
In reply to this post by Oliver, Richard
Another option is to open the directory in your non-Microsoft browser.
Leaving out the quotation marks, type "file:///C:\"  in the address bar
of Firefox, for example, and you can view the contents of Drive C.  You
can navigate to whatever directory you want and then print the directory
listing.  You can also bookmark these locations if you have a frequent
need to examine and print the directory listing.






Oliver, Richard wrote:

> And Windows does, in fact provide a way to do this:
>
> dir c:\somedirectory >c:\somedirectory\somefile.txt
>
> Since I use SPSS for various data management tasks, I often run that via the HOST command and then read the resulting text file back into SPSS as a data file, as in:
>
> host ["dir /b c:\somedirectory >c:\temp\temp.txt"].
> data list list file='c:\temp\temp.txt' /filespec a(200).
>
>
>
> -----Original Message-----
> From: SPSSX(r) Discussion [mailto:[hidden email]] On Behalf Of Peck, Jon
> Sent: Wednesday, August 06, 2008 12:02 PM
> To: [hidden email]
> Subject: Re: off-subject but not irrelevant
>
> Use the SPSS HOST command.
>
> HOST command=["dir somedirectory"]
>
> The output is returned as a text block in the Viewer.
>
> HTH,
> Jon
>
> (Alternatively, pipe the directory output to a file and print that: dir somedirectory >dirlisting)
>
> -----Original Message-----
> From: SPSSX(r) Discussion [mailto:[hidden email]] On Behalf Of howard schuman
> Sent: Wednesday, August 06, 2008 10:49 AM
> To: [hidden email]
> Subject: [SPSSX-L] off-subject but not irrelevant
>
> Sometimes it would be very useful to be able to print directly (or to
> copy & paste for later printing), the sub-folders and files within a
> particular folder listed in Windows Explorer. For some reason not
> evident to me, Windows does not provide any way to do this.
>
> If anyone knows of a convenient utility (whether free or of modest cost)
> that will provide this useful function, please let me know.
>      thanks, hs
>
> =====================
> To manage your subscription to SPSSX-L, send a message to
> [hidden email] (not to SPSSX-L), with no body text except the
> command. To leave the list, send the command
> SIGNOFF SPSSX-L
> For a list of commands to manage subscriptions, send the command
> INFO REFCARD
>
> =====================
> To manage your subscription to SPSSX-L, send a message to
> [hidden email] (not to SPSSX-L), with no body text except the
> command. To leave the list, send the command
> SIGNOFF SPSSX-L
> For a list of commands to manage subscriptions, send the command
> INFO REFCARD
>
> =====================
> To manage your subscription to SPSSX-L, send a message to
> [hidden email] (not to SPSSX-L), with no body text except the
> command. To leave the list, send the command
> SIGNOFF SPSSX-L
> For a list of commands to manage subscriptions, send the command
> INFO REFCARD
>
>
>

=====================
To manage your subscription to SPSSX-L, send a message to
[hidden email] (not to SPSSX-L), with no body text except the
command. To leave the list, send the command
SIGNOFF SPSSX-L
For a list of commands to manage subscriptions, send the command
INFO REFCARD