• using @ code TYPE with spaces in directory

    From nolageek@VERT/CAPSHRIL to All on Wednesday, October 22, 2014 16:45:06
    I need to use a directory with a space in it, but it seems to break the (at)TYPE:filename(at) @ code:

    (at)TYPE:c:\sbbs\dropbox\bbs\ifttt\Clouds Early\Clearing Late.ans(at)

    I just get the full test instead of the included file contents. Any way around this? I tried putting the path in quotes, but that didn't seem to help.

    Any suggestions?

    |01-|03nolageek


    ---
    þ Synchronet þ Capitol Shrill BBS - Washington, DC - capitolshrill.com
  • From Mro@VERT/BBSESINF to nolageek on Wednesday, October 22, 2014 23:36:15
    Re: using @ code TYPE with spaces in directory
    By: nolageek to All on Wed Oct 22 2014 04:45 pm

    I need to use a directory with a space in it, but it seems to break the (at)TYPE:filename(at) @ code:

    (at)TYPE:c:\sbbs\dropbox\bbs\ifttt\Clouds Early\Clearing Late.ans(at)

    I just get the full test instead of the included file contents. Any way around this? I tried putting the path in quotes, but that didn't seem to help.



    try ntfs symlink
    ---
    þ Synchronet þ ::: BBSES.info - free BBS services :::
  • From nolageek@VERT/CAPSHRIL to Mro on Thursday, October 23, 2014 11:09:48
    Re: using @ code TYPE with spaces in directory
    By: Mro to nolageek on Wed Oct 22 2014 11:36 pm

    I need to use a directory with a space in it, but it seems to break
    the (at)TYPE:filename(at) @ code:
    (at)TYPE:c:\sbbs\dropbox\bbs\ifttt\Clouds Early\Clearing Late.ans(at)
    try ntfs symlink

    Will play around with it, but the thing is the "Clouds Early\Clearing Late" bit is being generated by ifttt and inserted into the text file so I can't change that... Maybe I can use some search/replace cli magic to change that after it's produced. Hmm. I'm much more comfortable in Linux for this sort of manipulations within files. I'm just trying to avoid having a ton of little batch files running :)

    |01-|03nolageek


    ---
    þ Synchronet þ Capitol Shrill BBS - Washington, DC - capitolshrill.com
  • From Slinky@VERT to nolageek on Thursday, October 23, 2014 10:01:46
    I need to use a directory with a space in it, but it seems to break the (at)TYPE:filename(at) @ code:

    (at)TYPE:c:\sbbs\dropbox\bbs\ifttt\Clouds Early\Clearing Late.ans(at)

    I just get the full test instead of the included file contents. Any way around this? I tried putting the path in quotes, but that didn't seem to help.

    Any suggestions?

    Possibly use the old 8.3 file name convention.
    Such as:
    c:\sbbs\dropbox\bbs\ifttt\clouds~1\clearl~1.ans
    dir /x is the command to retrieve the actual 8.3 short file names.

    -Slinky

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ telnet://vert.synchro.net
  • From Digital Man@VERT to nolageek on Friday, October 24, 2014 17:10:55
    Re: using @ code TYPE with spaces in directory
    By: nolageek to All on Wed Oct 22 2014 04:45 pm

    I need to use a directory with a space in it, but it seems to break the (at)TYPE:filename(at) @ code:

    (at)TYPE:c:\sbbs\dropbox\bbs\ifttt\Clouds Early\Clearing Late.ans(at)

    I just get the full test instead of the included file contents. Any way around this? I tried putting the path in quotes, but that didn't seem to help.

    Any suggestions?

    @-codes can't have spaces in them, so that's a problem with your path/filename.
    As someone else suggested, a symlink or hardlink could be used as an alias to the file.

    digital man

    Synchronet "Real Fact" #82:
    Donations to the Synchronet project are welcome @ http://wiki.synchro.net/donate
    Norco, CA WX: 83.7øF, 24.0% humidity, 7 mph SE wind, 0.00 inches rain/24hrs

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ telnet://vert.synchro.net