Page 1 of 1

Old problem with sdelete rematerilaizes

Posted: 08 Sep 2010 22:05
by aurumdigitus
A script that has been working for two years using sdelete has stopped working. XY in use is 9.5 but can't remember when sdelete got used last. Have tried Step Mode but that reports no errors. The DOS box appears and seems to run the utility but selected files do NOT get vaporized.

Here it is:

Code: Select all

//My delete button - right.xys
//Bold added by |1
-
"Nuclear Destruction|C:\Icon Workshop\Single icons\Skull and Bones - red.ico|1" msg "Are you ABSOLUTELY POSITIVELY sure?", 1;
 sound "C:\Sound\Wav Library\War\Explsion.wav";
 openwith """C:\WINDOWS\system32\sdelete.exe"" -p 2 -s <items>", m
-
"Delete - No Recycle Bin|:nuke|1" button "nuke";
-
"Undo last action|:undo" button "undo";
-
"Cancel"

Re: Old problem with sdelete rematerilaizes

Posted: 09 Sep 2010 09:56
by admin
That's the recent <items> bug. Will be fixed in next version.

Re: Old problem with sdelete rematerilaizes

Posted: 09 Sep 2010 10:00
by Stefan
aurumdigitus wrote:A script [...] has stopped working. XY in use is 9.5
Hi aurumdigitus.

It could be that "<items>" is the problem since there was an modification recently:
version (v9.40.0110, 03-sep-2010)
+ New variable <items> returns a space-separated list of the
This new var makes problems with OpenWith(), see http://www.xyplorer.com/xyfc/viewtopic. ... 475#p51475
Admin wrote:Fix comes.

P.S.: i like that sound() part in that script :P

Re: Old problem with sdelete rematerilaizes

Posted: 09 Sep 2010 12:09
by aurumdigitus
version (v9.40.0110, 03-sep-2010)
+ New variable <items> returns a space-separated list of the
Thanks for the "heads up". That's what someone gets for not reading the fine print.

The sound is a bit of whimsy but does serve as an audio cue that the action is irrevocable.
admin wrote:That's the recent <items> bug. Will be fixed in next version.
Forgive ignorance here but that means next increment not next Beta, yes?

Re: Old problem with sdelete rematerilaizes

Posted: 09 Sep 2010 12:23
by admin
aurumdigitus wrote:
admin wrote:That's the recent <items> bug. Will be fixed in next version.
Forgive ignorance here but that means next increment not next Beta, yes?
next Beta -- it's already uploaded.

Good News and Bad News

Posted: 09 Sep 2010 13:11
by aurumdigitus
The Good: 9.5.001 has taken care of the bug and sdelete is happily obliterating as before.

The Bad: The Installer package again returned XY to its virgin state, this time with 28 days left in evaluation. Had again to use a backup and install Portable by hand.

Don - You requested a copy of the ini for examination. Giving it a cursory glance at the nearly 1100 lines, it has in it what might be termed certain "proprietary business information". Until I can find time to edit that out is there anything else that might correct what is rapidly becoming a highly vexing problem?

Re: Good News and Bad News

Posted: 09 Sep 2010 13:44
by admin
aurumdigitus wrote:The Good: 9.5.001 has taken care of the bug and sdelete is happily obliterating as before.

The Bad: The Installer package again returned XY to its virgin state, this time with 28 days left in evaluation. Had again to use a backup and install Portable by hand.

Don - You requested a copy of the ini for examination. Giving it a cursory glance at the nearly 1100 lines, it has in it what might be termed certain "proprietary business information". Until I can find time to edit that out is there anything else that might correct what is rapidly becoming a highly vexing problem?
I think I said startup.ini, not xyplorer.ini. startup.ini is (should be) where the EXE is.

The plot thickens!

Posted: 09 Sep 2010 14:02
by aurumdigitus
Using Find Files on the XYplorer folder turns up no file named startup.ini.

Is that the problem? :?

Re: The plot thickens!

Posted: 09 Sep 2010 14:36
by admin
aurumdigitus wrote:Using Find Files on the XYplorer folder turns up no file named startup.ini.

Is that the problem? :?
Yes, you are trying to install an installer package (with startup.ini) onto a portable package (without startup.ini).

The best for you would be you create startup.ini yourself and fill it with your current app data path.
It usually look like this:

Code: Select all

[Appdata]
Path=%appdata%\XYplorer
So you would write your app data path in the place of %appdata%\XYplorer.

Understood? Do you know where you app data path is? Use menu Go / Go to app data folder to find out...

The deed is done

Posted: 09 Sep 2010 14:54
by aurumdigitus
Have followed your instructions carefully and created the startup.ini. Will hold breath on next upgrade with installer. How this execrable situation arose is beyond me.

How insidiously clever that you put Go / Go to app data folder in the Menus.

Re: The deed is done

Posted: 09 Sep 2010 15:08
by admin
aurumdigitus wrote:Have followed your instructions carefully and created the startup.ini. Will hold breath on next upgrade with installer. How this execrable situation arose is beyond me.

How insidiously clever that you put Go / Go to app data folder in the Menus.
I'm curious: where is your app data folder? ( if you can say without spilling company secrets, of course)

Re: Old problem with sdelete rematerilaizes

Posted: 10 Sep 2010 11:04
by aurumdigitus
admin wrote:I'm curious: where is your app data folder?
Pure vanilla - C:\Program Files\XYplorer\

Thanks for your aid here. It really would be illuminating to know that happened to that pesky startup.ini file. :roll:

Re: Old problem with sdelete rematerilaizes

Posted: 10 Sep 2010 11:28
by admin
aurumdigitus wrote:
admin wrote:I'm curious: where is your app data folder?
Pure vanilla - C:\Program Files\XYplorer\

Thanks for your aid here. It really would be illuminating to know that happened to that pesky startup.ini file. :roll:
I guess you deleted it. :P

FYI, a completely empty startup.ini would also suffice to support and preserve your setup.

Re: Old problem with sdelete rematerilaizes

Posted: 10 Sep 2010 12:20
by aurumdigitus
I guess you deleted it. :P
Either that or poltergeist are at work.