Viewing 15 posts - 46 through 60 (of 470 total)
@Jeffrey - I did think about using PowerShell but wanted everything to be in one place.
@jeff - That's very strange. Yesterday, I refreshed the parent folder quite a...
June 24, 2021 at 7:16 am
Guys/gals
Thought I'd resurrect this thread as I've come across a new issue.
I decided to use cmdshell to delete empty folders and ..... it's not going well.
Once a folder is empty,...
June 23, 2021 at 7:28 am
The database s on a local server drive (drive S: from memory).
I believe I'm using the 64-bit driver, but I'll need to double-check. I'm guessing the driver is correct because...
April 27, 2021 at 7:52 am
Thanks @Brian
I'll agree that the connection being made as the user running the request, but the odd bit is that the SqlServerAgent (which is also running the query)...
April 26, 2021 at 5:47 am
Hi all
Firsty,apologies for the late reply.
I think I'm going to leave things alone (just in case).
I've grabbed a workaround for the issue of different drive letters so I think I'm...
April 22, 2021 at 8:07 am
Oops, apologies.
Trying again to attach the code.
December 29, 2020 at 1:56 pm
Hi Jeff
I tested it by using an SSMS window to run the stored procs (which have parameters passed in to them). That all seemed towork fine.
I've attached the code for...
December 29, 2020 at 7:14 am
Hi all
I've come across a weird issue when creating folders using xp_create_subdir.
The folder properties don't appear to be propogating correctly.
I've just tried to access one of the folder to be told...
December 24, 2020 at 11:05 am
So I was overthinking it then.
Anyway, I've got the stored procedure working and it enables cmdshell, deletes the folder and disables it again.
December 18, 2020 at 9:47 am
Hi Jeff
I think the miscommunication comes from Microsoft themselves (or maybe I've just not read enough into it). According to this page , it states that there are security...
December 18, 2020 at 8:37 am
@jeff - My understanding was that, once CmdShell was enabled, is was usable by anyone. Nice to know that's not the case.
There is a very finite list of people...
December 17, 2020 at 7:10 am
Found it.
I'm an idiot and I'd made a syntax error in my VB code.
All now appears to be working as it should.
December 16, 2020 at 3:39 pm
It's only thrown that error now I've finished my script task (although it didn't throw an error in testing).
I'm passing the path I grab in an earlier item into a...
December 16, 2020 at 2:49 pm
I've got it sussed out now so I think I'll leave it well enough alone.
I've got an unusual error now that reads:-
Could not find a part of the path 'C:\Program...
December 16, 2020 at 2:21 pm
Thanks for that.
I origianlly wanted to do it via a stored procedure (to keep everything together, but now I've added a VB script-task to do the same thing.
Thanks agan
Richard
December 16, 2020 at 1:50 pm
Viewing 15 posts - 46 through 60 (of 470 total)