Ask a Question

Check available disk space for logging

Manfred_F
Regular Contributor

Check available disk space for logging

Iwant to do this by Scripting.

=> How do I Access the log location?

3 REPLIES 3
shankar_r
Community Hero

Re: Check available disk space for logging

Project.Path + "Log\"

ProjectSuite.Path + "Log\"


Thanks
Shankar R

LinkedIn | CG-VAK Software | Bitbucket | shankarr.75@gmail.com

“You must expect great things from you, before you can do them”

Extension Available

Manfred_F
Regular Contributor

Re: Check available disk space for logging

Project.Path + "Log\" gets me

I:\Automatisierung\Projects\Test TC\Test Prototyp\Log\

 

ProjectSuite.Path + "Log\" gets

I:\Automatisierung\Projects\Test TC\Log\

 

In my Project, the log Location property is set to %TcLog%TestTC\Test Prototyp,

which Points at

C:\TestLogs\TestTC\Test Prototyp

 

Can I read the log Location property somehow?

shankar_r
Community Hero

Re: Check available disk space for logging

One correction on the above post,

 

You can get exact path of log by using Logs.Path

 

Below will get you the free space of the driver.

 

aqFileSystem.GetDriveInfo("driveName").FreeSpace

 


Thanks
Shankar R

LinkedIn | CG-VAK Software | Bitbucket | shankarr.75@gmail.com

“You must expect great things from you, before you can do them”

Extension Available

cancel
Showing results for 
Search instead for 
Did you mean: