• file list

    From Keplini@KEPLINI to All on Sunday, November 11, 2001 06:37:00
    Hi,
    for some reason, my last message apparently didn't get through the network so here it is again:

    Hi everyone,
    still working on my Maximus Clone. Thanks for the help on the message areas. Now I need help with my file areas ;).
    Problem is that FILE_LIST will display files corresponding to the command spec. If I use GETFILESPEC, it gives a prompt (something like Filespec: [ENTER for *.*] or something like that) and I don't want any prompt. If I use CMDSTR, it won't append the .* or it won't become *.* if the user hits cr. Is there a way to change the command string in order to append the .* ? Or is there a function like that list files but uses a variable for the specs like FILE_LIST varstr ? Is there a way to avoid the prompt to appear using GETFILESPEC ?

    If anyone could help, I would really appreciate,
    Thanks,
    Keplini


    ---
    ■ Synchronet ■ Keplini's BBS -={goto.101main.net}=-
  • From Digital Man to Keplini on Sunday, November 11, 2001 04:16:33
    RE: file list
    BY: Keplini to All on Sun Nov 11 2001 02:37 pm

    for some reason, my last message apparently didn't get through the network here it is again:

    Hi everyone,
    still working on my Maximus Clone. Thanks for the help on the message are Now I need help with my file areas ;).
    Problem is that FILE_LIST will display files corresponding to the command spec. If I use GETFILESPEC, it gives a prompt (something like Filespec: [EN for *.*] or something like that) and I don't want any prompt. If I use CMDS it won't append the .* or it won't become *.* if the user hits cr. Is there way to change the command string in order to append the .* ? Or is there a function like that list files but uses a variable for the specs like FILE_LI varstr ? Is there a way to avoid the prompt to appear using GETFILESPEC ?

    Why not just do:

    set str "*.*"
    file_list

    (Just like in exec/default.src)

    -Rob
  • From Keplini@KEPLINI to Digital Man on Sunday, November 11, 2001 07:27:00
    RE: file list
    BY: Digital Man to Keplini on Sun Nov 11 2001 12:16:00


    Why not just do:

    set str "*.*"
    file_list


    I'll give it a try ! Thanks !

    Keplini


    ---
    ■ Synchronet ■ Keplini's BBS -={goto.101main.net}=-