topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Friday December 19, 2025, 6:48 am
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Recent Posts

Pages: prev1 ... 52 53 54 55 56 [57] 58 59 60 61 62 ... 404next
1401
Code: PowerShell [Select]
  1. Get-ChildItem ..\*.ps1 | ForEach-Object { Add-Content -Path 'output.txt' "----------`r`n$($_.FullName)`r`n----------`r`n"; Get-Content $_ | Out-File 'output.txt' -Append -Encoding utf8 }

Output:
Code: Text [Select]
  1. ----------
  2. Z:\test\Base64Encode.ps1
  3. ----------
  4. $Content = Get-Content -Path K:\favicon.ico -Encoding Byte
  5. $Base64 = [System.Convert]::ToBase64String($Content)
  6. $Base64 | Out-File K:\encoded.txt
  7.  
  8. ----------
  9. Z:\test\concat.ps1
  10. ----------
  11. Get-ChildItem ..\*.ps1 | ForEach-Object { Add-Content -Path 'output.txt' "`r`n----------`r`n$($_.FullName)`r`n----------"; Get-Content $_ | Out-File 'output.txt' -Append -Encoding utf8 }
  12.  
  13. ----------
  14. Z:\test\Detect-Computers.ps1
  15. ----------
  16. Ping 192.168.0.255
  17. arp -a | select-string 'dynamic' | foreach  {$_.line.trim().split(" ") | select -first 1 } | foreach {(Resolve-DnsName -Name $_ -ea 0).namehost}
  18. (Test-Connection SABnzbd -Quiet -Count 1)


Google again?  You have me wanting to use powershell for more than I use it for...
1402
Living Room / Re: Any maths genius?
« Last post by wraith808 on October 02, 2018, 07:59 AM »
From a purely informational point of view, what happens when there are less than 250 files to be processed?

Does the process stop?
Does it continue, thereby processing less than the stipulated 250 files per day?

The only way to win, is not to play the game  ;D :Thmbsup: :huh:
1403
N.A.N.Y. 2019 / Re: N.A.N.Y. 2019 -- ScrabbleScore
« Last post by wraith808 on October 01, 2018, 05:21 PM »
You can call me a lazy programmer . This app currently doesn't have a word database included in it. All it does is adding the values of every letter in the word and showing the complete score. This way, you can calculate the value of any word, regardless of whether it is legitimate or not.

I don't think lazy... that's what I thought it did from the start!  ;D  You shouldn't need a word database in order to calculate a score... You just need to store what the non-1 point letters are, assume the others are 1-point, and then from the indicators of multipliers, you can figure out the score!
1404
General Software Discussion / Re: Trickiest EXCEL formula problem ever!
« Last post by wraith808 on October 01, 2018, 09:41 AM »
Try asking on a website designed for people to ask questions and get them answered, such as Stack Exchange:

https://meta.stackex...soft-excel-questions
:Thmbsup:
1405
N.A.N.Y. 2019 / Re: N.A.N.Y. 2019 -- ScrabbleScore
« Last post by wraith808 on September 30, 2018, 04:53 PM »
You can attach exes just fine, as shown, just not embed them. And I was just referring to my own advice on uploading exes, nothing set in stone on the site.
1406
N.A.N.Y. 2019 / Re: N.A.N.Y. 2019 -- ScrabbleScore
« Last post by wraith808 on September 30, 2018, 11:53 AM »
Updated to remove embed line.  I'd still suggest zipping before posting instead of posting the .exe.  Many browsers won't download exes or if they do will mark them as unsafe, sight unseen.
1407
Finished Programs / Re: DONE: Tally folder contents by file date
« Last post by wraith808 on September 28, 2018, 09:22 PM »
I hadn't updated it yet; unfortunately, I've been a bit busy at work.  It is now updated to save in the run directory by default, though I did add another command line param:

Code: Text [Select]
  1. [Option('s', "savedir", Required=false, HelpText = "Save directory.  By default the file stored the in directory where tallyfiles is run")]

As far as the limitations of what it does with the dates, it's a limitation of the information that windows stores in the FileSystemInfo structure.

It has the following properties (and definitions)

FileSystemInfo.LastAccessTime: The time that the current file or directory was last accessed.

FileSystemInfo.CreationTime: Gets or sets the creation time of the current file or directory.

FileSystemInfo.LastWriteTime: Gets or sets the time when the current file or directory was last written to.
1408
N.A.N.Y. 2019 / Re: cStatus a portable network scan and monitoring tool
« Last post by wraith808 on September 26, 2018, 01:00 PM »
Just an FYI... Malwarebytes stopped triggering on your site.  :Thmbsup:
1409
Finished Programs / Re: DONE: Tally folder contents by file date
« Last post by wraith808 on September 26, 2018, 10:30 AM »
wraith808, beautifully done.  Thanks a million.

TallyFiles -d "C:\Windows System Tools" -o "Windows System Tools.txt"

Two enhancement requests:

1.  Allow the default output file save location be to where TallyFiles.exe resides and is executed from (via batch file there) (instead of folder being acted upon, presently the default save location).

Thus, command would be merely:

TallyFiles -d "C:\Windows System Tools"

(and .txt extension would be added to "Windows System Tools")

2.  I specified "Creation Date."  Could we have the option of "Date Modified"?

You might already be allowing for this through your -c, --compare option.  But I don't understand how it works, if so.

Great job!

Thanks again.

Nicholas




I can do the first easily... will update later today.  As far as the second, the -c is the way to do that.  Three properties on the FileInfo object in windows are: [C]reation Date or Last [A]ccess Date or Last [W]rite Date.

I know last write date is the last day it was written (i.e. modified) and the create date is pretty obvious.  I haven't been able to figure out how it computes last access date.  So to change your command line above. 

Code: Text [Select]
  1. TallyFiles -d "C:\Windows System Tools" -c W

And even currently, you don't have to put output; it infers it from the folder name.  You only have to specify that if you want a different name from the folder name.
1410
General Software Discussion / Re: Vivaldi and Multiple User Profiles
« Last post by wraith808 on September 24, 2018, 02:06 PM »
FWIW, I use, and really like, Vivaldi, but don't miss the multiple profiles feature.  I never really used them in Chrome or Firefox, either.

I run separate work and home profiles, as both have certain logins that are unique to them (Microsoft account is the one that I can't do without)
1411
General Software Discussion / Vivaldi and Multiple User Profiles
« Last post by wraith808 on September 24, 2018, 01:25 PM »
So, I started trying to look for a viable alternative for Chrome (trying Vivaldi and Brave right now for the second time each).  Though I liked Brave, there was just a bit too much still missing for me right now, and for having an ad blocker built in, they sure do miss a lot.  So, I'm on Vivaldi again.  Initial impressions are good, though I'm surprised that there aren't multiple user profiles built in.  Did any Vivaldi users here use this feature in Chrome?  If so, how do you get around it?  I see several threads on it, but nothing solid, other than installing a completely new instance.
1412
Finished Programs / Re: DONE: Tally folder contents by file date
« Last post by wraith808 on September 22, 2018, 11:53 PM »
You can download it from https://my.pcloud.co...AxYJFJUz9dOpvmb4fLby

There are two files in the 75kb archive... TallyFiles.exe and CommandLine.dll.

Run TallyFiles to see the options, but they are

        [Option('d', "directory", Required = true, HelpText = "Directory to Scan")]
        [Option('f', "format", Required = false, HelpText = "Format of Date (Default yyyy-MM-dd)")]
        [Option('o', "output", Required = false, HelpText = "output filename (default name of directory, stored in directory)")]
        [Option('c', "compare", Required = false, HelpText = "compare to [C]reation Date or Last [A]ccess Date or Last [W]rite Date")]


So by default, if you run TallyFiles d=c:\test it will tally the files in c:\test and store them in c:\test\text.txt.  Formats are c# datetime formats (https://docs.microso...-time-format-strings), and if you specify an output filename, it will store it there. 

Requires .NET 4.5.2

Let me know if you have any questions.

Update: Added ability to use write and last access dates.



1413
Finished Programs / Re: DONE: Tally folder contents by file date
« Last post by wraith808 on September 22, 2018, 09:42 PM »
And by date, do you mean cration date of the files, modification date, or something else?
1414
N.A.N.Y. 2019 / Re: cStatus a portable network scan and monitoring tool
« Last post by wraith808 on September 20, 2018, 11:30 AM »
That url is not the one that is in your original post, i.e. http://www.hnsoft.pt/

EDIT: There was an image up there when I replied, but I don't see it...
1415
Found Deals and Discounts / Re: ACDSee Photo Software on offer until 23d May
« Last post by wraith808 on September 19, 2018, 03:55 PM »
I'm beginning to wonder if this is a perma-sale...  nobody ever pays the "full" price?

People have had trouble for doing similar things... so I'd hope they'd consider the legalities of that approach.
1416
Found Deals and Discounts / Re: FileMenu Tools is free for 2 days
« Last post by wraith808 on September 17, 2018, 11:54 AM »
There were folders named with Hiragana characters in what I extracted.  I moved all of these to the root.  A few of those were supposed to be contained in others as shown on running when files were not where they were supposed to be.  Diagnosed the errors and moved those (AppInfo I think was one, forget the other).  It was a pretty straightforward process from the error messages.
1417
N.A.N.Y. 2019 / Re: cStatus a portable network scan and monitoring tool
« Last post by wraith808 on September 17, 2018, 08:38 AM »
I can't do much more but only say that my software and site are clean, use it only if you want.

I've used your software so know that it is clean (and Clicador doesn't show up in my local Malwarebytes).  But, others visiting won't know, and will disregard it out of fear, so figured it might be good to inform you.  The details were some sort of riskware was detected: "Riskware, or “risky software,” describes legitimate software programs that contain loopholes or vulnerabilities that can be exploited by hackers for malicious purposes."  With that in mind, your reasons make sense.
1418
Living Room / Re: EU to Stop Summer (or is it Winter) Time
« Last post by wraith808 on September 16, 2018, 03:23 PM »
Please remember the basics. Time zones are as old as civilization itself: You go to another place, east or west, and adjust your clock accordingly - weather it is your inner clock or an actual clock. It was always like that. Only, now there is a name and a organized system.

Also, in this system there is no winter time, because that is normal time.

Forgive me for sounding like an old man past his bedtime.

The part that you're forgetting is that if each country chooses its own time, i.e. Summer or Winter, it will be nothing like that.  It would be better if no-one switched, and everyone was on the same relative time around the world.  When you're working with someone else around, this changing of the time is terrible, as sometimes, someone can be 9 hours away, and sometimes 10... and the 10 can make it quite hard to collaborate.  If some chose the 9-hour difference and others chose the 10-hour difference, this would be insane.
1419
Post New Requests Here / Re: IDEA: Any program required to move files to a NAS.
« Last post by wraith808 on September 16, 2018, 12:11 PM »

Wraith808, you are full of crap. Read back thru the posts, Everything was going great until you and Mouser (who should know better) and 4wd and Ath just had to chime in and just couldn't stay out of this initial post and practically hijacked it with all your own input.

I felt like reaching thru the screen and telling you all to stfu.  This was my requirement/idea NOT yours for gawd sakes.

All of you should be ashamed of yourselves for butting in and ruining this.

I am the one who did not get anything, YES I am the one who is punished here, thats the bottom line.

Ring the shame bell.

I didn't jump in, other than to agree that robocopy was a good tool.  It's apparently you that aren't reading well.  You could indeed reach out to KodeZwerg behind the scenes to see if he'd be willing to continue.  Offer him encouragement and perhaps even compensation.  But instead, you'd rather play the victim, and try to shame others- even the one that was trying to help you.  Entitled much?
1420
Found Deals and Discounts / Re: FileMenu Tools is free for 2 days
« Last post by wraith808 on September 16, 2018, 11:39 AM »
Can confirm... worked for me too.  I didn't even install the portable- just extracted it and had to move a few folders.
1421
General Software Discussion / Re: Big Data tools
« Last post by wraith808 on September 14, 2018, 01:31 PM »
https://stackoverflo...uge-large-text-files

You can try those and see if any satisfy your need.

From those, my personal recommendation is EmEditor, 010, or LogExpert.

https://github.com/zarunbal/LogExpert

I don't know what processes means, however in that context.  And on this Ath is correct.  You want better recommendations, give better requirements.
1422
N.A.N.Y. 2019 / Re: cStatus a portable network scan and monitoring tool
« Last post by wraith808 on September 14, 2018, 01:21 PM »
Also, changing it to https, I now get ERR_SSL_PROTOCOL_ERROR.  Not sure if that's Malwarebytes mucking about, or the method that you used to generate your cert.
1423
Post New Requests Here / Re: IDEA: Any program required to move files to a NAS.
« Last post by wraith808 on September 13, 2018, 08:25 PM »
Listen here Wraith, how the hell do you know what someone else is thinking?
Don't tell me what to do and how about you mind your own damn business.

This has nothing to do with you.

I would like to see new rules on this site that only allow the originator to dictate what they want or require because all the side comments ruined this with their OWN personal demands/suggestions which has NOTHING to do with me.

So get that into ya..


I never said anything about you, I talked about what he had said, and a more reasoned approach that you might take to get his attention instead of attempting to shame him into continuing or shame him for not continuing.   I was actually considering looking at this if he didn't want to continue because I could see that he dropped it because of crosstalk, not as a punishment to you, but in his own words:

i feel sorry to silent dropped this discussion.
Initial i really felt to help, and it was already finished, at least 95% with maybe 5% bugs left.
But that "do this/dont that" and "use this/not that" has killed my fun in developing it, its already dumped after all those "delete is a no go" texts.

Try to motivate him, not shame him was my only suggestion.  Whatever you take from that is your problem.  And no, I'm in no way thinking of picking this up at this point.  Onward!
1425
N.A.N.Y. 2019 / Re: cStatus a portable network scan and monitoring tool
« Last post by wraith808 on September 13, 2018, 12:45 PM »
You might want to get your site checked out- it's registering as a dangerous site with Malwarebytes, and a few others.

https://www.virustot...55b4210cda/detection

My site is very simple and clean, also my software is clean, I can assure that.

Can't do much about it. No idea why they say it has malware... maybe because I don't have a SSL certificate...



Ok, I was just letting you know in case you wanted to reach out.  It could be that whomever had the domain before you did had some nasty stuff hosted.  Or it could be a false positive.  But I figured that you'd want to know.
Pages: prev1 ... 52 53 54 55 56 [57] 58 59 60 61 62 ... 404next