Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
dostring command does not work since version 3.1.0
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
s andf  
View profile   Translate to Translated (View Original)
 More options Jul 16 2012, 4:29 am
From: s andf <sandf2...@gmail.com>
Date: Mon, 16 Jul 2012 16:29:59 +0800
Local: Mon, Jul 16 2012 4:29 am
Subject: Re: Re: [scite] dostring command does not work since version 3.1.0

Dear Neil,
    Thanks for your reply.
Using $(FilePath) and $(FileDir) does not work yet.
e.g.,
command.15.*=dostring os.execute("cmd /C copy $(FilePath)
$(FileDir)\$(FileName)_"..os.date("%y%m%d%H%M%S")..".$(FileExt)")

Best regards.
Lan
------------------------------
2012-07-16  16:23:37

 *Sender:* Neil Hodgson <nyamaton...@me.com>
*Date:* 2012年6月4日(星期一) 上午10:30
*To:* scite-interest <scite-interest@googlegroups.com>
*Subject:* Re: [scite] dostring command does not work since version 3.1.0
  s andf wrote:

    I use the following command to backup my file:
command.15.*=dostring os.execute("cmd /C copy $(FileNameExt)
$(FileName)_"..os.date("%y%m%d%H%M%S")..".$(FileExt)")

   However, this command works for version 3.0.4 but not for both version
3.1.0 and 3.2.0
Is it a bug?

   The current directory is no longer set before running Lua commands so
you should include full paths in the command using $(FilePath) and
$(FileDir).

   The reason that the current directory is no longer being set is that
this has caused various problems on each platform in the past. On Windows,
setting the current directory locks that directory so it can not be deleted.

   Neil

--
You received this message because you are subscribed to the Google Groups
"scite-interest" group.
To post to this group, send email to scite-interest@googlegroups.com.
To unsubscribe from this group, send email to
scite-interest+unsubscribe@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/scite-interest?hl=en.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Neil Hodgson  
View profile  
 More options Jul 17 2012, 6:01 am
From: Neil Hodgson <nyamaton...@me.com>
Date: Tue, 17 Jul 2012 20:01:14 +1000
Local: Tues, Jul 17 2012 6:01 am
Subject: Re: [scite] dostring command does not work since version 3.1.0

s andf:

> Using $(FilePath) and $(FileDir) does not work yet.
> e.g.,
> command.15.*=dostring os.execute("cmd /C copy $(FilePath) $(FileDir)\$(FileName)_"..os.date("%y%m%d%H%M%S")..".$(FileExt)")

   That could be a '\' quoting issue.

   Neil


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »